-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add explanatory comment to annotation box example #13163
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
Add explanatory comment to annotation box example #13163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Can you also add a References section like in
simple_plot.py
? That will put links to this example in the docs for AnnotationBox -
Code didn't pass flake8 😉
Thanks a lot for the PR!
@@ -3,7 +3,12 @@ | |||
Demo Annotation Box | |||
=================== | |||
|
|||
The AnnotationBbox Artist creates an annotation on some location using an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest strike: "on some location". Vague and doesn't help the sentence....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
The AnnotationBbox Artist creates an annotation on some location using an | ||
OffsetBox. This example demonstrates three different OffsetBoxes: TextArea, | ||
DrawingArea and OffsetImage. AnnotationBbox gives more fine-grained control | ||
than using the axes method annotate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we link as .axes.Axes.annotate
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link added.
1b303a1
to
c4bfd15
Compare
Thanks a lot @mollyrossow ! |
PR Summary
This pull request adds explanatory text to the Demo Annotation Box gallery example in response to issue #11654.
PR Checklist