8000 Merge pull request #29079 from corvusxi/fix-red-green-cvd-imshow · QuLogic/matplotlib@696fb85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 696fb85

Browse files
authored
Merge pull request matplotlib#29079 from corvusxi/fix-red-green-cvd-imshow
DOC: Replaced colormap for colorblindness
2 parents 0b6222b + fefa1cc commit 696fb85

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