Closed
Description
Documentation Link
https://matplotlib.org/stable/gallery/text_labels_and_annotations/rainbow_text.html
Problem
As noted in #25907 (comment), the rainbow_text example can likely be rewritten in a simpler fashion using annotate(), similarly to #25905, more simply than with explicit offset_copies.
Suggested improvement
Rewrite the example using annotate().