From ed07b3341e1473be6a5cd1bffc3c430c41ea9268 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:12:29 -0600 Subject: [PATCH] Update NCL_hov_3.py to address matplotlib 3.10 deprecations --- Gallery/Contours/NCL_hov_3.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Gallery/Contours/NCL_hov_3.py b/Gallery/Contours/NCL_hov_3.py index 1512c9d82..0151a8f6e 100644 --- a/Gallery/Contours/NCL_hov_3.py +++ b/Gallery/Contours/NCL_hov_3.py @@ -49,9 +49,8 @@ hatches=['....']) # Make all dot-filled areas light gray so contour lines are still visible -for i, collection in enumerate(cf.collections): - collection.set_edgecolor('lightgray') - collection.set_linewidth(0.) +cf.set_edgecolor('lightgray') +cf.set_linewidth(0.) # Fill area at the lowest contour level, -6, with line hatching cf = ax.contourf(lon,