Skip to content

[Doc]: cross link locator example with locator API #25172

Closed
@story645

Description

@story645

Documentation Link

https://matplotlib.org/devdocs/gallery/ticks/tick-locators.html

Problem

As demonstrated by @ksunden in today's new contributor meeting, there's no explicit link from the locator example to the locator api, it's just implicit in the intersphinx.

Suggested improvement

Add cross links as references in an admonition, like the tick-formatter example but fewer/more targeted references (locator only as a first pass?)

# %%
#
# .. admonition:: References
#
# The use of the following functions, methods, classes and modules is shown
# in this example:
#
# - `matplotlib.pyplot.subplots`
# - `matplotlib.axes.Axes.text`
# - `matplotlib.axis.Axis.set_major_formatter`

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationGood first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions