Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Feature request] Add a way to update the position of the Arrow patch. #14217

Closed
@davidmurray

Description

@davidmurray

Hi,

Currently, the arrow class doesn't let you update the coordinates after creating the patch. That is, one must remove the old patch and create a new one just to move the arrows. This seems fairly inefficient.

Would it be possible to add some setter methods to let one change the arrow position and size without recreating a new one?

The motivation for this is that removing and adding a new patch requires a full re-draw (afaik) which is slow.

Thanks!

Matplotlib version

  • Operating system: Windows 10
  • Matplotlib version: 3.0.3
  • Matplotlib backend (print(matplotlib.get_backend())): qt5agg
  • Python version: 3.7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions