-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Added link and image to matplotlib.hatch API Page #27203
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,7 @@ | |
:members: | ||
:undoc-members: | ||
:show-inheritance: | ||
|
||
.. _Click to see example gallery references: https://matplotlib.org/devdocs/gallery/shapes_and_collections/hatch_style_reference.html | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We use cross-referencing because that forwards to the matching page for that version of the docs |
||
|
||
.. plot:: doc_static/hatch_preview_first.png | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So you do not need to (and we prefer you don't) create the file. Sphinx gallery creates all the images when we build the docs & provides an image you can use here. https://sphinx-gallery.github.io/stable/advanced.html#cross-referencing One way to find the path you're looking for is to build the docs and look at the name of the resulting image. |
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.
The preamble being added in this PR should go above the sphinx directives b/c those directives populate the page w/ the function signature.