Skip to content

Commit

Permalink
update to Taylor Diagram example to use new method calls (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
jukent authored Mar 28, 2024
1 parent 07bb732 commit 5d8342d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gallery/TaylorDiagrams/NCL_taylor_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@
colors='lightgrey',
linewidths=0.5)

# Add y axis grid
dia.add_ygrid(np.array([0.5, 1.5]), color='grey')
# Add standard deviation axis grid
dia.add_std_grid(np.array([0.5, 1.5]), color='grey')

# Add x axis grid
dia.add_xgrid(np.array([0.6, 0.9]))
# Add correlation axis grid
dia.add_corr_grid(np.array([0.6, 0.9]))

# Add figure title
plt.title("Example", size=26, pad=45)
Expand Down

0 comments on commit 5d8342d

Please sign in to comment.