From 962eb06adbfa37d4639c3ae65f470ad02780d401 Mon Sep 17 00:00:00 2001 From: Michael Lindner Date: Wed, 18 Dec 2024 17:02:42 +0100 Subject: [PATCH] change colormap for nodal prices plot --- workflow/scripts/plot_ariadne_report.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/workflow/scripts/plot_ariadne_report.py b/workflow/scripts/plot_ariadne_report.py index c05506e9..7514f405 100644 --- a/workflow/scripts/plot_ariadne_report.py +++ b/workflow/scripts/plot_ariadne_report.py @@ -1158,6 +1158,9 @@ def plot_elec_prices_spatial( df = onshore_regions df["elec_price"] = n.buses_t.marginal_price[buses].mean() + # Netzentgelte, Annuität NEP 2045 - Annuität PyPSA 2045 / Stromverbrauch Pypsa 2045 + # (19.38 - 12.56 ) / 1.234 + # Create figure fig, ax = plt.subplots( 1, 1, subplot_kw={"projection": ccrs.PlateCarree()}, figsize=(9, 6) @@ -1176,7 +1179,7 @@ def plot_elec_prices_spatial( df[df.index.str.contains("DE")].to_crs(crs.proj4_init).plot( column=f"elec_price", ax=ax, - cmap=plt.get_cmap("magma_r"), + cmap=plt.get_cmap("cividis_r"), linewidth=0.05, edgecolor="grey", legend=True,