8000 added basic_units download link to units examples by story645 · Pull Request #8554 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

added basic_units download link to units examples #8554

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
May 2, 2017

Conversation

story645
Copy link
Member
@story645 story645 commented May 1, 2017

PR Summary

Added download link for basic_units.py to all units examples that require it. Also fixed cross-reference in bar-unit-demo - which tangentially I think should be deprecated since it seems clunky relative to the other bar example.
Here's a screenshot:
screen shot 2017-05-01 at 2 02 50 am

PR Checklist

  • Code is PEP 8 compliant
  • Documentation is sphinx and numpydoc compliant

@phobson phobson changed the title added basic_units download link to units examples [MRG+1] added basic_units download link to units examples May 1, 2017
@@ -1,5 +1,7 @@
.. _units_examples:

.. _units-examples-index:
Copy link
Contributor

Choose a reason for hiding this comment

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

just FYI - sphinx gallery will auto-create these labels when it builds the docs. They follow the convention .. _sphx_glr_path_to_file.py:

Copy link
Contributor

Choose a reason for hiding this comment

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

(ack NVM, I think I am wrong. These labels only get generated for the .py files converted to RST, not the README.txt files)

@choldgraf
Copy link
Contributor

I think this is a good addition to the PR so it's def worth merging in. That said, I think this section of examples might be a good candidate for converting to a tutorial on units in matplotlib in the future!

@NelleV NelleV merged commit dc9c93d into matplotlib:master May 2, 2017
@QuLogic QuLogic changed the title [MRG+1] added basic_units download link to units examples added basic_units download link to units examples May 2, 2017
@QuLogic QuLogic added this to the 2.1 (next point release) milestone May 2, 2017
@story645 story645 deleted the unit_docs branch May 12, 2017 19:14
@story645 story645 restored the unit_docs branch August 7, 2017 04:04
@story645 story645 deleted the unit_docs branch October 9, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0