-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Feature request] Add a way to update the position of the Arrow patch. #14217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What needs to be done:
This can be used as an example to start with:
|
Given that the transform needs to be recreated, I would not expect updating to be any faster than removing and recreating the arrow. |
It seems indeed, that the use of |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
Probably still relevant |
Uh oh!
There was an error while loading. Please reload this page.
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
print(matplotlib.get_backend())
): qt5aggThe text was updated successfully, but these errors were encountered: