8000 DOC: Replaced colormap for colorblindness · matplotlib/matplotlib@fefa1cc · GitHub
[go: up one dir, main page]

Skip to content

Commit fefa1cc

Browse files
DOC: Replaced colormap for colorblindness
1 parent 773096e commit fefa1cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galleries/examples/images_contours_and_fields/image_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Z = (Z1 - Z2) * 2
3131

3232
fig, ax = plt.subplots()
33-
im = ax.imshow(Z, interpolation='bilinear', cmap=cm.RdYlGn,
33+
im = ax.imshow(Z, interpolation='bilinear', cmap=cm.RdYlBu,
3434
origin='lower', extent=[-3, 3, -3, 3],
3535
vmax=abs(Z).max(), vmin=-abs(Z).max())
3636

0 commit comments

Comments
 (0)
0