pypsa.plot.add_legend_circles#
- pypsa.plot.add_legend_circles(ax, sizes, labels, srid=4326, patch_kw=None, legend_kw=None)#
Add a legend for reference circles.
- Parameters:
ax (matplotlib ax)
sizes (list-like, float) – Size of the reference circle; for example [3, 2, 1]
labels (list-like, str) – Label of the reference circle; for example [“30 GW”, “20 GW”, “10 GW”]
patch_kw (defaults to {}) – Keyword arguments passed to matplotlib.patches.Circle
legend_kw (defaults to {}) – Keyword arguments passed to ax.legend