Plotting
- reperiods.plot.show_DC(data: DataFrame, curve_set: Index, RPs: list[RepresentativePeriods]) Figure [source]
Visualize duration curves (DC) of the original data and the combined RPs.
- Parameters:
data (DataFrame) – A DataFrame containing the data where RP will be found
curve_set (Index) – A set of curve linked to the data
RPs (list[RepresentativePeriods]) – list of representative periods attributed to the data
- Returns:
A Plotly figure displaying duration curves.
- Return type:
go.Figure
- reperiods.plot.show_RP(data: DataFrame, curve_set: Index, RPs: list[RepresentativePeriods]) Figure [source]
Visualize representative periods (RPs) on a plot of curves.
- Parameters:
data (DataFrame) – A DataFrame containing the data where RP will be found
curve_set (Index) – A set of curve linked to the data
RPs (list[RepresentativePeriods]) – list of representative periods attributed to the data
- Returns:
A Plotly figure with RPs highlighted in green.
- Return type:
go.Figure
- reperiods.plot.show_curves(data: DataFrame, curve_set: Index) Figure [source]
Visualize curves in a TemporalData object.
- Parameters:
data (DataFrame) – A DataFrame containing the data where RP will be found
curve_set (Index) – A set of curve linked to the data
- Returns:
A Plotly figure showing the curves.
- Return type:
go.Figure