From e03c8f511665e57b02c772919cc6858ce8302393 Mon Sep 17 00:00:00 2001 From: Felicity Chun Date: Tue, 11 Jun 2024 10:27:41 +1000 Subject: [PATCH] flake clean up --- .../diag_scripts/seaice_area_extents/seaice_mapextents.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/esmvaltool/diag_scripts/seaice_area_extents/seaice_mapextents.py b/esmvaltool/diag_scripts/seaice_area_extents/seaice_mapextents.py index 5acfbb4572..8a8c5e5e4d 100755 --- a/esmvaltool/diag_scripts/seaice_area_extents/seaice_mapextents.py +++ b/esmvaltool/diag_scripts/seaice_area_extents/seaice_mapextents.py @@ -52,6 +52,8 @@ def map_diff(mod_si_ls, obs_si, months): # get lat max for regridding latmax = obs_si.lat.max().values.item() + proj = SouthPolarStereo(true_scale_latitude=-70) + # fig set up, width for 2 models, check len mod_si_ls figure = plt.figure(figsize=(9, len(months) * 4)) j = 0 # to iterate through positions on figure @@ -65,8 +67,7 @@ def map_diff(mod_si_ls, obs_si, months): diff_ds, mod_regrid = model_regrid_diff(mod_si, obs_si, cdr, mon, latmax) - axes = plt.subplot(len(months), 3, i + j * 3, - projection=SouthPolarStereo(true_scale_latitude=-70)) + axes = plt.subplot(len(months), 3, i + j * 3, projection=proj) diffmap = axes.contourf( diff_ds.x, diff_ds.y, diff_ds,