|
10 | 10 | +======================================+======================================+ |
11 | 11 | | RGB or RGBA (red, green, blue, alpha)| - ``(0.1, 0.2, 0.5)`` | |
12 | 12 | | tuple of float values in a closed | - ``(0.1, 0.2, 0.5, 0.3)`` | |
13 | | -| interval [0, 1] | | |
| 13 | +| interval [0, 1]. | | |
14 | 14 | +--------------------------------------+--------------------------------------+ |
15 | 15 | | Case-insensitive hex RGB or RGBA | - ``'#0f0f0f'`` | |
16 | | -| string | - ``'#0f0f0f80'`` | |
| 16 | +| string. | - ``'#0f0f0f80'`` | |
17 | 17 | +--------------------------------------+--------------------------------------+ |
18 | 18 | | Case-insensitive shorthand equivalent| - ``'#abc'`` as ``'#aabbcc'`` | |
19 | 19 | | string of RGB or RGBA from duplicated| - ``'#abcd'`` as ``'#aabbccdd'`` | |
20 | | -| characters | | |
| 20 | +| characters. | | |
21 | 21 | +--------------------------------------+--------------------------------------+ |
22 | 22 | | String representation of float value | - ``'0.8'`` as light gray | |
23 | 23 | | in closed interval ``[0, 1]`` for | - ``'0'`` as black | |
24 | 24 | | black and white, respectively. | - ``'1'`` as white | |
25 | 25 | +--------------------------------------+--------------------------------------+ |
26 | 26 | | Single character shorthand notation | - ``'b'`` as blue | |
27 | | -| for shades of colors | - ``'g'`` as green | |
| 27 | +| for shades of colors. | - ``'g'`` as green | |
28 | 28 | | | - ``'r'`` as red | |
29 | 29 | | .. note:: The colors green, cyan, | - ``'c'`` as cyan | |
30 | 30 | | magenta, and yellow do not | - ``'m'`` as magenta | |
|
34 | 34 | +--------------------------------------+--------------------------------------+ |
35 | 35 | | Case-insensitive color name from | - ``'xkcd:sky blue'`` | |
36 | 36 | | `xkcd color survey`_ with ``'xkcd:'``| - ``'xkcd:eggshell'`` | |
37 | | -| prefix | | |
| 37 | +| prefix. | | |
38 | 38 | +--------------------------------------+--------------------------------------+ |
39 | 39 | | Case-insensitive Tableau Colors from | - 'tab:blue' | |
40 | | -| 'T10' categorical palette | - 'tab:orange' | |
| 40 | +| 'T10' categorical palette. | - 'tab:orange' | |
41 | 41 | | | - 'tab:green' | |
42 | 42 | | | - 'tab:red' | |
43 | 43 | | | - 'tab:purple' | |
|
49 | 49 | +--------------------------------------+--------------------------------------+ |
50 | 50 | | "CN" color spec where ``'C'`` | - ``'C0'`` | |
51 | 51 | | precedes a number acting as an index | - ``'C1'`` | |
52 | | -| into the default property cycle +--------------------------------------+ |
| 52 | +| into the default property cycle. +--------------------------------------+ |
53 | 53 | | | :rc:`axes.prop_cycle` | |
54 | 54 | | .. note:: Indexing occurs at | | |
55 | 55 | | rendering time and defaults| | |
|
75 | 75 |
|
76 | 76 | Alpha of 1 indicates the new Artist completely covers the previous color. |
77 | 77 | Alpha of 0 for top color is not visible; however, it contributes to blending |
78 | | -for intermediate values as the cumulative result of all previous Artists. |
| 78 | +for intermediate values as the cumulative result of all previous Artists. The |
| 79 | +following table contains examples. |
| 80 | +
|
| 81 | ++---------------+-------------------------------------------------------------+ |
| 82 | +| Alpha value | Visual | |
| 83 | ++===============+=============================================================+ |
| 84 | +| ``0.3`` | .. image:: ../../_static/color_zorder_A.png | |
| 85 | ++---------------+-------------------------------------------------------------+ |
| 86 | +| ``1`` | .. image:: ../../_static/color_zorder_B.png | |
| 87 | ++---------------+-------------------------------------------------------------+ |
79 | 88 |
|
80 | 89 | .. note:: |
81 | 90 |
|
|
0 commit comments