Plots

Plots#

pypsa.Network.plot([margin, ax, geomap, ...])

Plot the network buses and lines using matplotlib and cartopy.

pypsa.Network.iplot([fig, bus_colors, ...])

Plot the network buses and lines interactively using plotly.

pypsa.Network.explore([crs, tooltip, popup, ...])

Create an interactive map displaying PyPSA network components using geopandas exlore() and folium.

pypsa.plot.add_legend_circles(ax, sizes, labels)

Add a legend for reference circles.

pypsa.plot.add_legend_patches(ax, colors, labels)

Add patches for color references.

pypsa.plot.add_legend_lines(ax, sizes, labels)

Add a legend for lines and links.