reVReports.plots.PlotGenerator#
- class PlotGenerator(plot_data, out_directory, dpi=300, prefix_outputs=False)[source]#
Bases:
objectBuild plots from prepared supply curve dataframes
- Parameters:
plot_data (
PlotData) – Data interface that exposes scenario and combined dataframes.out_directory (
pathlib.Path) – Directory where generated plot images are written.dpi (
int, default300) – Resolution used when saving matplotlib figures.prefix_outputs (
bool, defaultFalse) – If True, output plot filenames are prefixed with'plot_'. By default,False.
Methods
Create box plots for scenario level metrics
Create bar chart of economic capacity by region
Create histograms for core supply curve variables
Create regional box plots for key metrics
Create supply curve line plots for capacity and generation
Create box plots of transmission costs and distances
Attributes
Combined augmented supply curve records
Augmented supply curve scenarios
- property all_df#
Combined augmented supply curve records
- Type:
- property scenario_dfs#
Augmented supply curve scenarios
- Type: