-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC api's transition to sphinx-gallery is now complete #8311
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
Conversation
create the figure and show calls, and use the API for everything else. | ||
This is a good solution for production quality scripts. For full | ||
fledged GUI applications, see the user_interfaces examples. | ||
|
||
Example style guide |
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.
Is there any reason to get rid of this section? It seems quite useful.
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.
This is not the correct place to document example style guide. We have a MEP for this in addition of contributors guidelines on how to write documentation (this section is thus quite out of date).
In addition, the READMEs are now being rendered in the gallery: they thus should contain documentation relevant to the end user on this specific section of the gallery instead of a mixture of user documentation and contribution guidelines.
Does this make sense?
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.
👍
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.
Looks good. A couple minor comments that don't need to hold this up.
(:ref:`api-sankey_demo_basics`, :ref:`api-sankey_demo_links`, | ||
:ref:`api-sankey_demo_rankine`). | ||
(:ref:`api-plot_sankey_demo_basics`, :ref:`api-plot_sankey_demo_links`, | ||
:ref:`api-plot_sankey_demo_rankine`). |
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.
Should we take demo
out here as well?
lib/matplotlib/sankey.py
Outdated
@@ -118,7 +118,7 @@ def __init__(self, ax=None, scale=1.0, unit='', format='%G', gap=0.25, | |||
|
|||
**Examples:** | |||
|
|||
.. plot:: mpl_examples/api/sankey_demo_basics.py | |||
.. plot:: mpl_examples/api/plot_sankey_demo_basics.py |
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.
Another demo
here.
Thanks for the review @dopplershift ! |
It turns out we were much closer to finish the transition of all API examples than I thought, so this PR finishes up the job.
This doesn't build on my computer, and I am struggling to understand what is going on…