-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Mep12 text labels and annotations #8211
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
Mep12 text labels and annotations #8211
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.
One typo.
Controlling style of text and labels using a dictionary | ||
======================================================= | ||
|
||
|
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.
Extra line.
|
||
|
||
This example shows how to share parameters across many text objects and labels | ||
by creating a dictionnaries of option passed across several functions. |
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.
dictionnaries of option -> dictionary of options
Thanks for the review! I fixed the comments. |
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.
Still one typo ;)
======================================================= | ||
|
||
This example shows how to share parameters across many text objects and labels | ||
by creating a dictionnary of options passed across several functions. |
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.
dictionnary ->dictionary
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 again :)
|
||
Matplotlib can wrap text automatically, but if it's too long, the text will be | ||
displayed slightly outside of the boundaries of the axis anyways. | ||
|
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.
A quick grep suggests that the common style in the codebase is an empty line after the closing quotes, not before.
Also applies below.
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.
We have common style code for documenting examples? And here I thought we didn't have documentation on examples :p
I've added/removed blank lines. |
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.
Will merge if the doc build on travis passes 👍
So… The documentation passes. The rest fails because it can't download freetype. |
Mep12 text labels and annotations
Backported to |
Here are some more migrations of examples to compatible sphinx-gallery docstring.
refs #7206