Skip to content

[Doc]: Quiver docstring incorrectly claims that only UVC can be set #22402

@ianhi

Description

@ianhi

Documentation Link

No response

Problem

The docstring of quiver (https://matplotlib.org/devdocs/api/_as_gen/matplotlib.quiver.Quiver.html#matplotlib.quiver.Quiver) claims that

The only API method is set_UVC(), which can be used to change the size, orientation, and color of the arrows; their locations are fixed when the class is instantiated. Possibly this method will be useful in animations.

however this is not true, you can also use set_offsets to change the locations.

Suggested improvement

Something like

You can set the UVC values using set_UVC and the locations using set_offsets

Matplotlib Version

any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions