Skip to content

DOC: Simplify annotation arrow style reference #29755

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
Mar 21, 2025

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Mar 14, 2025

Position everything in data coordiates rather than Axes coordinates. While the code is not the primary goal of this example, it's slightly simpler to follow if we keep everything in data coordinates, which is what all the commands (plot, text, annotate) are by default in.

The output is basically unchanged, with the exception of making the point marker and the textbox edge dark grey so that the black arrow stands out more.

@github-actions github-actions bot added the Documentation: examples files in galleries/examples label Mar 14, 2025
@timhoffm timhoffm added this to the v3.10-doc milestone Mar 14, 2025
Position everything in data coordiates rather than Axes coordinates. While the code annotate() is not the primary goal of this example, it's slightly simpler to follow if we keep everything in data coordinates, which is what all the commands (plot, text, annotate) are by default in.

The output is basically unchanged, with the exception of making the point marker and the textbox edge dark grey so that the black annotation line stands out more.
@QuLogic QuLogic changed the title DOC: Simplify annoation arrow style reference DOC: Simplify annotation arrow style reference Mar 21, 2025
@QuLogic QuLogic merged commit a79ae37 into matplotlib:main Mar 21, 2025
22 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 21, 2025
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Mar 21, 2025
timhoffm added a commit that referenced this pull request Mar 21, 2025
…755-on-v3.10.x

Backport PR #29755 on branch v3.10.x (DOC: Simplify annotation arrow style reference)
timhoffm added a commit that referenced this pull request Mar 21, 2025
…755-on-v3.10.1-doc

Backport PR #29755 on branch v3.10.1-doc (DOC: Simplify annotation arrow style reference)
@ksunden ksunden mentioned this pull request May 9, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: examples files in galleries/examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants