8000 MNT: Discourage arrow() by timhoffm · Pull Request #29509 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

MNT: Discourage arrow() #29509

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

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Conversation

timhoffm
Copy link
Member

The arrow() design is broken beyond repair. Even though we currently only have to offer annotate as a workaround, we should make the limitations more prominent then just a note and we should steer users away.

This is a a step towards deprecation (#20387). Unfortunately the discussion of a replacement has stalled (#22435) and we have to revive it later. But that shound not hold us from pointing out the flaws of arrow() more prominently.

@timhoffm timhoffm modified the milestones: v3.10.0-doc, v3.10.1 Jan 24, 2025
@timhoffm
Copy link
Member Author

We don't have an explicit policy on the version in which we introduce discourage statements. Since this is non-breaking and it's better to get the info out earlier, I pointed to the next micro release.

@timhoffm timhoffm marked this pull request as ready for review January 24, 2025 09:04
The arrow() design is broken beyond repair. Even though we currently only have to offer `annotate` as a workaround, we should make the limitations more prominent then just a note and we should steer users away.

This is a a step towards deprecation (matplotlib#20387). Unfortunately the discussion of a replacement has stalled (matplotlib#22435) and we have to revive it later. But that shound not hold us from pointing out the flaws
of arrow() more prominently.
@rcomer rcomer merged commit 9e3ada3 into matplotlib:main Jan 25, 2025
47 of 49 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 25, 2025
@timhoffm timhoffm deleted the mnt-discourage-arrow branch January 25, 2025 21:31
timhoffm added a commit that referenced this pull request Jan 25, 2025
…509-on-v3.10.x

Backport PR #29509 on branch v3.10.x (MNT: Discourage arrow())
@ksunden ksunden mentioned this pull request Mar 3, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0