8000 DOC:added exported colors to colors.api · matplotlib/matplotlib@9f5f8c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f5f8c4

Browse files
渡邉 美希渡邉 美希
渡邉 美希
authored and
渡邉 美希
committed
DOC:added exported colors to colors.api
1 parent d21b9dc commit 9f5f8c4

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)
0