Skip to content

Commit 11a698b

Browse files
committed
remove duplicate end-point of twilight
twilight is constructed from two viscm-generated colormaps, one red, one blue, both starting and stopping at the same points. When originally created, they thus contain double start- and end-points. While I did take out the repeated black point, I forgot to delete one of the end-points. This fixes that omission.
1 parent 1df05c5 commit 11a698b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/_cm_listed.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,8 +1285,7 @@
12851285
[0.995503, 0.903866, 0.212370],
12861286
[0.995737, 0.909344, 0.217772]]
12871287

1288-
_twilight_data = [[0.95588623, 0.91961077, 0.95812116],
1289-
[0.94967876, 0.91615763, 0.95315546],
1288+
_twilight_data = [[0.94967876, 0.91615763, 0.95315546],
12901289
[0.94353853, 0.91268927, 0.94824212],
12911290
[0.93744520, 0.90921449, 0.94337733],
12921291
[0.93140447, 0.90573033, 0.93856712],

0 commit comments

Comments
 (0)