[Matplotlib-users] rainbow text in legend?

Neal Becker ndbecker2 at gmail.com
Mon Mar 1 07:19:13 EST 2021


An approach to Rainbow text was given here:
https://matplotlib.org/stable/gallery/text_labels_and_annotations/rainbow_text.html

But what I'd like is to apply this to the legend.  Specifically, in
the legend I'd like to call attention to certain words in the label
with color.  Any ideas?

Thanks,
Neal
-- 
Those who don't understand recursion are doomed to repeat it


More information about the Matplotlib-users mailing list