Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93bd5d commit 9963ccaCopy full SHA for 9963cca
1 file changed
lib/matplotlib/_color_data.py
@@ -964,11 +964,11 @@
964
# normalize to names with no spaces and provide versions with XKCD
965
# prefix.
966
for k in list(XKCD_COLORS):
967
- XKCD_COLORS['XKCD'+k] = XKCD_COLORS[k]
+ XKCD_COLORS['xkcd'+k] = XKCD_COLORS[k]
968
_k = k.replace(' ', '')
969
if _k != k:
970
XKCD_COLORS[_k] = XKCD_COLORS[k]
971
- XKCD_COLORS['XKCD'+_k] = XKCD_COLORS[k]
+ XKCD_COLORS['xkcd'+_k] = XKCD_COLORS[k]
972
973
974
# https://drafts.csswg.org/css-color-4/#named-colors
0 commit comments