Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add a related examples section to all gallery entries #19230

Copy link
Copy link
Open
@ianhi

Description

@ianhi
Issue body actions

Problem

For the most part I (and I assume most people) end up at any given example in the gallery through some combination of googling somewhat incoherent phrases and links out from stackoverflow. This actually works great due to the breadth of topics covered in the examples. However there is no natural path for a reader to discover related examples.
e.g. If I end up on https://matplotlib.org/devdocs/gallery/statistics/histogram_features.html#sphx-glr-gallery-statistics-histogram-features-py

then there is no easy way to find the other histogram examples, or even to know that others exist. This is a shame as there are many other histogram examples:
image

This is especially so because of however the examples get placed into the toctree the next level up from the example page is the contents page rather than the list of examples:
image

I think that at least part of #19221 is a special case of this general issue.

Suggested Improvement

Implement a standard section in all examples for Related Examples or Further Reading or something to that effect. Then slowly implement this over all the examples and require it in all future examples.

This could be done already, but it would be very nice to have a standard set for how to do this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.