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 95a8d67 commit 7952aabCopy full SHA for 7952aab
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