Skip to content

Commit

Permalink
colormap changed to BrBG
Browse files Browse the repository at this point in the history
  • Loading branch information
lm2612 committed May 15, 2024
1 parent bd1d937 commit 12b356e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/plot_QBO.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def plot_QBO(time, pfull, u_QBO, ax=None, cbar=True, x_axis=True, y_axis=True):
if ax == None:
fig, ax = plt.subplots(nrows=1,ncols=1, figsize=(8, 3))
plt.sca(ax)
plt.contourf(time, pfull, u_QBO.T, levels=np.arange(-45., 45.1, 5), cmap="RdBu_r", extend="both")
plt.contourf(time, pfull, u_QBO.T, levels=np.arange(-45., 45.1, 5), cmap="BrBG_r", extend="both")
if x_axis:
plt.xlabel("Time (years)")
if y_axis:
Expand Down

0 comments on commit 12b356e

Please sign in to comment.