Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ecac8 commit 31b2d19Copy full SHA for 31b2d19
examples/text_labels_and_annotations/rainbow_text.py
@@ -10,15 +10,15 @@
10
On the matplotlib-users list back in February 2012, Gökhan Sever asked the
11
following question:
12
13
- Is there a way in matplotlib to partially specify the color of a string?
14
-
15
- Example:
16
17
- plt.ylabel("Today is cloudy.")
18
19
- How can I show "today" as red, "is" as green and "cloudy." as blue?
20
21
- Thanks.
+ | Is there a way in matplotlib to partially specify the color of a string?
+ |
+ | Example:
+ | plt.ylabel("Today is cloudy.")
+ | How can I show "today" as red, "is" as green and "cloudy." as blue?
+ | Thanks.
22
23
The solution below is modified from Paul Ivanov's original answer.
24
"""
0 commit comments