8000 Merge pull request #29077 from corvusxi/fix-red-green-cvd · matplotlib/matplotlib@07d86ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 07d86ce

Browse files
Merge pull request #29077 from corvusxi/fix-red-green-cvd
DOC: Replaced green with blue for colorblindness
2 parents 773096e + af81132 commit 07d86ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galleries/examples/widgets/check_buttons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
fig, ax = plt.subplots()
2828
l0, = ax.plot(t, s0, visible=False, lw=2, color='black', label='1 Hz')
2929
l1, = ax.plot(t, s1, lw=2, color='red', label='2 Hz')
30-
l2, = ax.plot(t, s2, lw=2, color='green', label='3 Hz')
30+
l2, = ax.plot(t, s2, lw=2, color='blue', label='3 Hz')
3131

3232
lines_by_label = {l.get_label(): l for l in [l0, l1, l2]}
3333
line_colors = [l.get_color() for l in lines_by_label.values()]

0 commit comments

Comments
 (0)
0