Description:
Proposal:
To enhance the modularity and extensibility of the Pypsa package's plotting functionality, we may want to restructure the current network.plot function into a more versatile accessor-based system. This new structure would allow for a range of plotting types, offering both static and interactive visualizations.
Benefits:
- Modularity: Easy to extend with new plot types in the future.
- Clarity: A clear, organized structure for different supported funcitonalities
- Extensibility: Switch between static and interactive plots for different presentation and analysis puposes and quick checks
Proposed Accessor Structure:
-
n.plot: First Version of plotting module
-
n.iplot: Plotly integration
-
n.dashboard(): Dashboard integration
Description:
Proposal:
To enhance the modularity and extensibility of the Pypsa package's plotting functionality, we may want to restructure the current
network.plotfunction into a more versatile accessor-based system. This new structure would allow for a range of plotting types, offering both static and interactive visualizations.Benefits:
Proposed Accessor Structure:
n.plot: First Version of plotting modulen.plot: This will serve as the main accessor for static plots, with subcategories including:maps: For network topology on static and interactive maps.bar: For bar plots of network statistics.line: For time series data.area: For stacked area plots, useful for overlapping data like production curves.n.plot.optimal_capacity()n.iplot: Plotly integrationn.plot. This will enable users to create interactive visualizations with ease, offering a seamless transition between static and dynamic plots.\n.dashboard(): Dashboard integration