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
Annotations tutorial #25532
Annotations tutorial #25532
Conversation
to a horizontal arrow so that the arrow line does not cross the artist. This is somewhat special but visually more pleasing and possibly a real use case.
... in the `transAxes` / "axes fraction" example. Brining the annotations closer to the coordinate axes makes it easier to see that they are really the same. Also, the previous positioning (0.5, 0.5) without centered alignment results in almost, but not exactly centering of the text in the Axes frame, which is not quite nice visually.
Drawing a connection between two related data points seems a more real-world application than annotating one text with another text from another Axes.
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
You can't really backport this in-situ because the tutorials moved. I guess you can decide if you want to backport manually to the old location, but maybe easier to just leave as a 3.8 improvement. |
Three stylistic improvements
to a horizontal arrow so that the arrow line does not cross the
artist. This is somewhat special but visually more pleasing and
possibly a real use case.
old:
new:
Change coordinates in Annotations tutorial
... in the
transAxes
/ "axes fraction" example. Brining theannotations closer to the coordinate axes makes it easier to
see that they are really the same. Also, the previous positioning
(0.5, 0.5) without centered alignment results in almost, but not
exactly centering of the text in the Axes frame, which is not
quite nice visually.
old:
new:
Modify "Annotating an Artist" of Annotations tutorial
to a horizontal arrow so that the arrow line does not cross the
artist. This is somewhat special but visually more pleasing and
possibly a real use case.
old:
new: