compatibility: fix plotting for new pypsa version

This commit is contained in:
Fabian Neumann 2022-08-03 17:06:41 +02:00
parent 2857691367
commit 286520f396

View File

@ -307,7 +307,6 @@ def plot_h2_map(network):
) )
n.plot( n.plot(
geomap=False,
bus_sizes=0, bus_sizes=0,
link_colors='#72d3d6', link_colors='#72d3d6',
link_widths=link_widths_retro, link_widths=link_widths_retro,
@ -441,7 +440,6 @@ def plot_ch4_map(network):
) )
n.plot( n.plot(
geomap=False,
ax=ax, ax=ax,
bus_sizes=0., bus_sizes=0.,
link_colors='#e8d1d1', link_colors='#e8d1d1',
@ -451,7 +449,6 @@ def plot_ch4_map(network):
) )
n.plot( n.plot(
geomap=False,
ax=ax, ax=ax,
bus_sizes=0., bus_sizes=0.,
link_colors=link_color_used, link_colors=link_color_used,