Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 61c5f0b

Browse files
committed
Typos and cycler addition
1 parent 9ea3836 commit 61c5f0b

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tutorials/colors/colors.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
| string | - ``'#0f0f0f80'`` |
1717
+--------------------------------------+--------------------------------------+
1818
| Case-insensitive shorthand equivalent| - ``'#abc'`` as ``'#aabbcc'`` |
19-
| string of RGB orRGBA from duplicated | - ``'#abcd'`` as ``'#aabbccdd'`` |
19+
| string of RGB or RGBA from duplicated| - ``'#abcd'`` as ``'#aabbccdd'`` |
2020
| characters | |
2121
+--------------------------------------+--------------------------------------+
2222
| String representation of float value | - ``'0.8'`` as light gray |
@@ -54,7 +54,7 @@
5454
| .. note:: Indexing occurs at | |
5555
| rendering time and defaults| |
5656
| to black if cycle does not | |
57-
| inlcude color. | |
57+
| include color. | |
5858
+--------------------------------------+--------------------------------------+
5959
6060
.. _xkcd color survey: https://xkcd.com/color/rgb/
@@ -70,7 +70,7 @@
7070
added Artist is ``RGBnew`` with Alpha ``alpha``, then the RGB of the pixel
7171
updates to: ``RGB = RGBOld * (1 - Alpha) + RGBnew * Alpha``.
7272
73-
Alpha of 1 indicates the new Artist completely covering the previous color.
73+
Alpha of 1 indicates the new Artist completely covers the previous color.
7474
Alpha of 0 indicates that pixel of the Artist is transparent.
7575
7676
.. seealso::
@@ -83,7 +83,9 @@
8383
"CN" color selection
8484
--------------------
8585
86-
"CN" colors convert to RGBA when creating Artists.
86+
"CN" colors convert to RGBA when creating Artists. The
87+
:doc:`/tutorials/intermediate/color_cycle` section contains additional
88+
information about controlling colors and style properties.
8789
"""
8890

8991

0 commit comments

Comments
 (0)