Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MEP12 - added sphinx-gallery docstrings #7277

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 2 commits into from
Oct 17, 2016
Merged

MEP12 - added sphinx-gallery docstrings #7277

merged 2 commits into from
Oct 17, 2016

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Oct 16, 2016

As discussed in a pull request (#6690), here is an update of the sphinx-gallery type of docstring for MEP12.

@NelleV NelleV changed the title MEP12 - added sphinx-gallery docstrings [MRG] MEP12 - added sphinx-gallery docstrings Oct 16, 2016
@@ -87,6 +87,22 @@ the gallery would remain in those directories until they are cleaned
up. After clean-up, they would be moved to one of the new gallery
sections described above. "Clean-up" should involve:

* `sphinx-gallery docstrings <http://sphinx-gallery.readthedocs.io/>`_: a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https, please.

@@ -87,6 +87,22 @@ the gallery would remain in those directories until they are cleaned
up. After clean-up, they would be moved to one of the new gallery
sections described above. "Clean-up" should involve:

* `sphinx-gallery docstrings <http://sphinx-gallery.readthedocs.io/>`_: a
title and a description formatted as follows::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should probably mention that it's the docstring for the entire file (right?), not some function within an example.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once something is added to this one to clarify that it's talking about the file docstring, the third bullet below this one (Add introductory sentence or paragraph in the main docstring.) can also be deleted since it gives less specific criteria for the same docstring.


.. math:: f(x, y) = \sin(x) + \cos(y)

with different colormaps. Look at how colormaps alter your perception!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra indent?

@efiring efiring changed the title [MRG] MEP12 - added sphinx-gallery docstrings [MRG+1] MEP12 - added sphinx-gallery docstrings Oct 16, 2016
@QuLogic QuLogic changed the title [MRG+1] MEP12 - added sphinx-gallery docstrings MEP12 - added sphinx-gallery docstrings Oct 17, 2016
@QuLogic QuLogic merged commit b9ba7ea into matplotlib:master Oct 17, 2016
@QuLogic QuLogic added this to the v2.1 milestone Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants