Skip to content

Commit e240080

Browse files
authored
Merge pull request matplotlib#25574 from MikiPWata/DOC/exported_colors
DOC: Added exported colors to colors.api
2 parents c8aaa90 + 9f5f8c4 commit e240080

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/api/colors_api.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,17 @@ Functions
7171
same_color
7272
get_named_colors_mapping
7373
make_norm_from_scale
74+
75+
Exported colors
76+
---------------
77+
78+
The data used to populate the :doc:`/gallery/color/named_colors` are exposed
79+
as dictionaries that map color names to hex strings.
80+
81+
.. py:data:: BASE_COLORS
82+
83+
.. py:data:: TABLEAU_COLORS
84+
85+
.. py:data:: CSS4_COLORS
86+
87+
.. py:data:: XKCD_COLORS

0 commit comments

Comments
 (0)