From fefa1cc76c6296d6648042ab3d0960efe9c026c4 Mon Sep 17 00:00:00 2001 From: Kris Rubiano <177184899+krisrubianodata@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:06:33 -0500 Subject: [PATCH] DOC: Replaced colormap for colorblindness --- galleries/examples/images_contours_and_fields/image_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/examples/images_contours_and_fields/image_demo.py b/galleries/examples/images_contours_and_fields/image_demo.py index 213b6cdd28c2..68abee1011fe 100644 --- a/galleries/examples/images_contours_and_fields/image_demo.py +++ b/galleries/examples/images_contours_and_fields/image_demo.py @@ -30,7 +30,7 @@ Z = (Z1 - Z2) * 2 fig, ax = plt.subplots() -im = ax.imshow(Z, interpolation='bilinear', cmap=cm.RdYlGn, +im = ax.imshow(Z, interpolation='bilinear', cmap=cm.RdYlBu, origin='lower', extent=[-3, 3, -3, 3], vmax=abs(Z).max(), vmin=-abs(Z).max())