Use geomap=True
for plotting existing lines
Since https://github.com/PyPSA/PyPSA/commit/e754928e#diff-1ffb543f39b9a9c1d00adfc3fb2c1a89c905c56e00b9ede9178787a8148dc0eeR210 PyPSA raises an exception for plots that have geo axes but use `geomap=False`.
This commit is contained in:
parent
8b33e36925
commit
07ff021a6e
@ -123,7 +123,7 @@ def plot_map(n, opts, ax=None, attribute='p_nom'):
|
||||
link_colors=link_colors_with_alpha,
|
||||
bus_sizes=0,
|
||||
boundaries=map_boundaries,
|
||||
color_geomap=True, geomap=False,
|
||||
color_geomap=True, geomap=True,
|
||||
ax=ax)
|
||||
ax.set_aspect('equal')
|
||||
ax.axis('off')
|
||||
|
Loading…
Reference in New Issue
Block a user