From 4d385b6cc9196c41f611e9975d22d7d70e6febe5 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 15 Mar 2023 16:52:48 +0000 Subject: [PATCH] replace outline patch with splines --- .../diag_scripts/land_carbon_cycle/diag_global_turnover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esmvaltool/diag_scripts/land_carbon_cycle/diag_global_turnover.py b/esmvaltool/diag_scripts/land_carbon_cycle/diag_global_turnover.py index 902ef7122d..0d8b95ff84 100644 --- a/esmvaltool/diag_scripts/land_carbon_cycle/diag_global_turnover.py +++ b/esmvaltool/diag_scripts/land_carbon_cycle/diag_global_turnover.py @@ -275,7 +275,7 @@ def _fix_map(axis_obj): """ axis_obj.set_global() axis_obj.coastlines(linewidth=0.4, color='grey') - plt.gca().outline_patch.set_visible(False) + plt.gca().spines["geo"].set_visible(False) return axis_obj