Skip to content

[Doc]: Rewrite rainbow_text example to use annotate() #25941

Closed
@anntzer

Description

@anntzer

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().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions