Skip to content

Commit

Permalink
colorblind friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
mezdahun committed May 15, 2024
1 parent 96db251 commit da53fa1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
import matplotlib

cmap_vel = matplotlib.colors.LinearSegmentedColormap.from_list(
'mycmap', ["red", "white", "green"])
'mycmap', ["#d35564", "white", "#0087a9"])
cmap_ori = matplotlib.colors.LinearSegmentedColormap.from_list(
'mycmap', ["orange", "white", "blue"])
'mycmap', ["#5f4fc6", "white", "#ffbb00"])
plt.figure()
plt.imshow(dv_matrix.T, cmap=cmap_vel)
plt.show()
Expand Down

0 comments on commit da53fa1

Please sign in to comment.