Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wohland committed Oct 21, 2022
1 parent 9945be3 commit 87e6ad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/plot_s10_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def plot_array(ds, plot_params=DIFF_PLOT_PARAMS, historical=False):
)


def plot_array_CMIP5(ds, plot_params=DIFF_PLOT_PARAMS, historical=False):
def plot_array_CMIP5(ds, historical=False):
"""
Plot array of CMIP5 change signals per model (in different columns) as provided in ds
:param ds: xr.Dataset
Expand Down Expand Up @@ -269,7 +269,7 @@ def make_individual_plots():
if experiment_family == "cordex":
plot_array(ref, plot_params=MEAN_PLOT_PARAMS, historical=True)
else:
plot_array_CMIP5(diff, plot_params=MEAN_PLOT_PARAMS, historical=True)
plot_array_CMIP5(ref, historical=True)
plt.savefig(
"../plots/" + experiment_family + "_wind_historical.png", **FIG_PARAMS
)
Expand Down

0 comments on commit 87e6ad1

Please sign in to comment.