Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee341ea

Browse files
authored
Merge pull request#17678 from meeseeksmachine/auto-backport-of-pr-17665-on-v3.3.x
Backport PR#17665 on branch v3.3.x (Document that some single char colors are shaded)
2 parentse419071 +db5c100 commitee341ea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎tutorials/colors/colors.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
case-insensitive);
1616
* a string representation of a float value in ``[0, 1]`` inclusive for gray
1717
level (e.g., ``'0.5'``);
18-
* one of ``{'b', 'g', 'r', 'c', 'm', 'y', 'k', 'w'}``, they are the single
19-
character short-hand notations for blue, green, red, cyan, magenta, yellow,
20-
black, and white.
18+
* one of the characters ``{'b', 'g', 'r', 'c', 'm', 'y', 'k', 'w'}``, which
19+
are short-hand notations for shades of blue, green, red, cyan, magenta,
20+
yellow, black, and white. Note that the colors ``'g', 'c', 'm', 'y'`` do not
21+
coincide with the X11/CSS4 colors. Their particular shades were chosen for
22+
better visibility of colored lines against typical backgrounds.
2123
* a X11/CSS4 color name (case-insensitive);
2224
* a name from the `xkcd color survey`_, prefixed with ``'xkcd:'`` (e.g.,
2325
``'xkcd:sky blue'``; case insensitive);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp