Skip to content

Commit 01db122

Browse files
committed
Fix issue where CSS4 standard colors overwrite base color names
1 parent d63aabc commit 01db122

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proplot/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def register_colors(*args, user=None, default=False, space='hcl', margin=0.1, **
673673
from . import colors as pcolors
674674
if default:
675675
pcolors._color_database.clear() # MutableMapping ensures cache also clears
676-
for src in (pcolors.COLORS_BASE, mcolors.CSS4_COLORS):
676+
for src in (mcolors.CSS4_COLORS, pcolors.COLORS_BASE):
677677
pcolors._color_database.update(src)
678678

679679
# Register input colors

0 commit comments

Comments
 (0)