Merge pull request #406 from zoltanmaric/patch-1

Use `geomap=True` for plotting existing lines
This commit is contained in:
Fabian Neumann 2022-08-29 11:50:17 +02:00 committed by GitHub
commit 1dc003119f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')