Skip to content

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

Closed
wants to merge 1 commit into from

Conversation

Ashhar-24
Copy link

@Ashhar-24 Ashhar-24 commented Oct 26, 2023

PR summary

PR checklist

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for opening your first PR into Matplotlib!

If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks.

You can also join us on gitter for real-time discussion.

For details on testing, writing docs, and our review process, please see the developer guide

We strive to be a welcoming and open project. Please follow our Code of Conduct.

Copy link
Member

@story645 story645 left a comment

Choose a reason for hiding this comment

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

Thank you for tackling this!
Please see our contributing guide for information on how to set up a development environment and how to build the docs as I think that may make it easier to implement the
solution proposed in the issue.
https://matplotlib.org/devdocs/devel/index.html#new-contributors


.. _Click to see example gallery references: https://matplotlib.org/devdocs/gallery/shapes_and_collections/hatch_style_reference.html

.. plot:: doc_static/hatch_preview_first.png
Copy link
Member

Choose a reason for hiding this comment

The 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.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The 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
https://sphinx-gallery.github.io/stable/advanced.html#cross-referencing

@@ -6,3 +6,7 @@
:members:
:undoc-members:
:show-inheritance:

Copy link
Member

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.

@story645
Copy link
Member

story645 commented Nov 5, 2023

Hey @Ashhar-24 do you plan to get back to this?

@story645 story645 self-assigned this Nov 9, 2023
@pat8901
Copy link
Contributor

pat8901 commented Nov 23, 2023

@story645 Hello, I am new and looking to make my first pr. I am reading into this issue and I may be of some help. Right now I am gathering all necessary information on how to properly complete and test this issue. In the mean time I will keep an eye out for further developments!

@story645
Copy link
Member

Ok, but also this is a pull request not an issue so @Ashhar-24 has done a lot of the work and what's left is to address the review comments. If @Ashhar-24 doesn't have the bandwidth to finish up, you're welcome to take over.

@pat8901
Copy link
Contributor

pat8901 commented Nov 23, 2023

@story645 My apologies, thank you for the clarification. Would it be appropriate to create a separate pr?
I did see in the issue the bot mentioned, "If there is an open PR, please collaborate on the work by reviewing it rather than duplicating it in a competing PR". I wanted to ask just for clarification.

@story645
Copy link
Member

I think if it's stalled out, then you can take over by making a new PR but credit @Ashhar-24 as a co-author. Maybe wait a another day to see if they respond?
https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors

@pat8901 pat8901 mentioned this pull request Nov 26, 2023
2 tasks
@story645
Copy link
Member

closing in favor of #27370

@timhoffm
Copy link
Member

@story645 did you forget to close?

@story645 story645 closed this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for author
Development

Successfully merging this pull request may close these issues.

[Doc]: List supported hatches and link to/embed hatch reference on hatches API page
4 participants