Skip to content

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

Closed

Description

@story645

Documentation Link

https://matplotlib.org/devdocs/api/hatch_api.html

Problem

The hatches API landing page is very sparse and I think some folks landing on this page are probably trying to find the list of supported hatches.

image

Suggested improvement

Minimally, I think the API reference should link/refer to the example gallery reference, but I also think maybe the first image from the gallery reference should be embedded at the top of the API reference page (via the .. plot:: path/to/image directive)
sphx_glr_hatch_style_reference_001

This is the file that would be changed in addressing this issue:

********************
``matplotlib.hatch``
********************
.. automodule:: matplotlib.hatch
:members:
:undoc-members:
:show-inheritance:

Activity

  1. github-actions commented on Oct 25, 2023

    @github-actions

    Good first issue - notes for new contributors

    This issue is suited to new contributors because it does not require understanding of the Matplotlib internals. To get started, please see our contributing guide.

    We do not assign issues. Check the Development section in the sidebar for linked pull requests (PRs). If there are none, feel free to start working on it. If there is an open PR, please collaborate on the work by reviewing it rather than duplicating it in a competing PR.

    If something is unclear, please reach out on any of our communication channels.

  2. Ashhar-24 commented on Oct 26, 2023

    @Ashhar-24

    Hey @story645 , I would love to work on this!
    But I'm not able to understand how should I edit "matplotlib/doc/api/hatch_api.rst" file so that that API reference page will also show images of the hatches.
    Kindly guide me through.
    Thanks

  3. btwshivam commented on Oct 26, 2023

    @btwshivam

    I want to work on it assign me!

  4. story645 commented on Oct 26, 2023

    @story645
    MemberAuthor

    Sorry @shivam200446 we do not assign issues & there's already an opened pull request about this.

  5. ikigai27 commented on Nov 4, 2023

    @ikigai27

    (plot:: path/to/image) appears to be used in documentation tools like Sphinx @story645

  6. story645 commented on Nov 4, 2023

    @story645
    MemberAuthor

    @ikigai27 yes, our docs are built with sphinx. I'm not sure if you're asking a question or answering someone elses.

  7. ikigai27 commented on Nov 7, 2023

    @ikigai27

    @story645 Permission to matplotlib denied to ikigai27. how to solve any guidance.

  8. story645 commented on Nov 7, 2023

    @story645
    MemberAuthor

    What are you doing to get that error?

  9. ikigai27 commented on Nov 8, 2023

    @ikigai27

    making PR it gives an error while pushing the changes to origin repository

  10. story645 commented on Nov 8, 2023

    @story645
    MemberAuthor

    Did you follow our guide for making the changes on a feature branch on your own fork?

    https://matplotlib.org/devdocs/devel/contribute.html#how-to-contribute

    If not, I suggest you follow our instructions and then copy your changes over.

  11. QuLogic commented on Jul 13, 2024

    @QuLogic
    Member

    Also should add an mpl-type role entry for this new page.

  12. added this to the v3.11.0 milestone on Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions