Skip to content

Commit

Permalink
Update NCL_hov_3.py to address matplotlib 3.10 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kafitzgerald authored Oct 16, 2024
1 parent b9f5734 commit ed07b33
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Gallery/Contours/NCL_hov_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ed07b33

Please sign in to comment.