Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix/Supress more missing references #29400

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

Merged
merged 2 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/toolkits/axisartist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
===========================

The *axisartist* namespace provides a derived Axes implementation
(:class:`mpl_toolkits.axisartist.Axes`), designed to support curvilinear
(:class:`~mpl_toolkits.axisartist.axislines.Axes`), designed to support curvilinear
grids. The biggest difference is that the artists that are responsible for
drawing axis lines, ticks, ticklabels, and axis labels are separated out from
Matplotlib's Axis class.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/toolkits/mplot3d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ the toolbar pan and zoom buttons are not used.
===================================

.. note::
See :attr:`mpl_toolkits.mplot3d.axis3d._axinfo` for a dictionary containing
See :attr:`!mpl_toolkits.mplot3d.axis3d._axinfo` for a dictionary containing
constants that may be modified for controlling the look and feel
of mplot3d axes (e.g., label spacing, font colors and panel colors).
Historically, axis3d has suffered from having hard-coded constants
Expand Down
241 changes: 0 additions & 241 deletions doc/missing-references.json
Original file line number Diff line number Diff line change
@@ -1,133 +1,11 @@
{
"py:attr": {
"cbar_axes": [
"lib/mpl_toolkits/axes_grid1/axes_grid.py:docstring of mpl_toolkits.axes_grid1.axes_grid.ImageGrid:72"
],
"eventson": [
"lib/matplotlib/widgets.py:docstring of matplotlib.widgets.CheckButtons.set_active:4",
"lib/matplotlib/widgets.py:docstring of matplotlib.widgets.RadioButtons.set_active:4"
],
"fmt_zdata": [
"lib/mpl_toolkits/mplot3d/axes3d.py:docstring of mpl_toolkits.mplot3d.axes3d.Axes3D.format_zdata:2"
],
"height": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.bounds:2"
],
"input_dims": [
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.AitoffAxes.AitoffTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.AitoffAxes.InvertedAitoffTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.HammerAxes.HammerTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.HammerAxes.InvertedHammerTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.LambertAxes.InvertedLambertTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.LambertAxes.LambertTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform.transform_non_affine:14",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.MollweideAxes.MollweideTransform.transform_non_affine:14",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform:8",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform_affine:15",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform_non_affine:14",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.CompositeGenericTransform.transform_affine:15",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.CompositeGenericTransform.transform_non_affine:14",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform:8",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform_affine:15",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform_non_affine:14"
],
"lines": [
"lib/matplotlib/colorbar.py:docstring of matplotlib.colorbar.Colorbar.add_lines:4"
],
"matplotlib.axes.Axes.patch": [
"doc/tutorials/artists.rst:185",
"doc/tutorials/artists.rst:424"
],
"matplotlib.axes.Axes.patches": [
"doc/tutorials/artists.rst:462"
],
"matplotlib.axes.Axes.transAxes": [
"lib/mpl_toolkits/axes_grid1/anchored_artists.py:docstring of mpl_toolkits.axes_grid1.anchored_artists.AnchoredDirectionArrows:8"
],
"matplotlib.axes.Axes.transData": [
"lib/mpl_toolkits/axes_grid1/anchored_artists.py:docstring of mpl_toolkits.axes_grid1.anchored_artists.AnchoredAuxTransformBox:11",
"lib/mpl_toolkits/axes_grid1/anchored_artists.py:docstring of mpl_toolkits.axes_grid1.anchored_artists.AnchoredSizeBar:8"
],
"matplotlib.axes.Axes.xaxis": [
"doc/tutorials/artists.rst:608",
"doc/users/explain/axes/axes_intro.rst:133"
],
"matplotlib.axes.Axes.yaxis": [
"doc/tutorials/artists.rst:608",
"doc/users/explain/axes/axes_intro.rst:133"
],
"matplotlib.figure.Figure.patch": [
"doc/tutorials/artists.rst:185",
"doc/tutorials/artists.rst:318"
],
"matplotlib.figure.Figure.transFigure": [
"doc/tutorials/artists.rst:367"
],
"max": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.p1:4"
],
"min": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.p0:4"
],
"mpl_toolkits.mplot3d.axis3d._axinfo": [
"doc/api/toolkits/mplot3d.rst:66"
],
"name": [
"lib/matplotlib/scale.py:docstring of matplotlib.scale.ScaleBase:8"
],
"output_dims": [
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.AitoffAxes.AitoffTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.AitoffAxes.InvertedAitoffTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.HammerAxes.HammerTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.HammerAxes.InvertedHammerTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.LambertAxes.InvertedLambertTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.LambertAxes.LambertTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.MollweideAxes.InvertedMollweideTransform.transform_non_affine:22",
"lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.MollweideAxes.MollweideTransform.transform_non_affine:22",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform:16",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform_affine:23",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.AffineBase.transform_non_affine:22",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.CompositeGenericTransform.transform_affine:23",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.CompositeGenericTransform.transform_non_affine:22",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform:16",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform_affine:23",
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.IdentityTransform.transform_non_affine:22"
],
"triangulation": [
"lib/matplotlib/tri/_trirefine.py:docstring of matplotlib.tri._trirefine.UniformTriRefiner.refine_triangulation:2"
],
"width": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.bounds:2"
],
"xmax": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.x1:4"
],
"xmin": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.x0:4"
],
"ymax": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.y1:4"
],
"ymin": [
"lib/matplotlib/transforms.py:docstring of matplotlib.transforms.Bbox.y0:4"
]
},
"py:class": {
"HashableList[_HT]": [
"<unknown>:1"
],
"matplotlib.axes._base._AxesBase": [
"doc/api/artist_api.rst:202"
],
"matplotlib.backend_bases.FigureCanvas": [
"doc/tutorials/artists.rst:33",
"doc/tutorials/artists.rst:35",
"doc/tutorials/artists.rst:40"
],
"matplotlib.backend_bases.Renderer": [
"doc/tutorials/artists.rst:35",
"doc/tutorials/artists.rst:40"
],
"matplotlib.backend_bases._Backend": [
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.ShowBase:1"
],
Expand Down Expand Up @@ -234,9 +112,6 @@
"<unknown>:1",
"doc/api/_as_gen/mpl_toolkits.axes_grid1.parasite_axes.rst:30:<autosummary>:1"
],
"mpl_toolkits.axisartist.Axes": [
"doc/api/toolkits/axisartist.rst:6"
],
"mpl_toolkits.axisartist.axisline_style.AxislineStyle._Base": [
"lib/mpl_toolkits/axisartist/axisline_style.py:docstring of mpl_toolkits.axisartist.axisline_style.AxislineStyle.SimpleArrow:1"
],
Expand Down Expand Up @@ -267,32 +142,7 @@
"<unknown>:1"
]
},
"py:data": {
"matplotlib.axes.Axes.transAxes": [
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.legend:250",
"lib/matplotlib/figure.py:docstring of matplotlib.figure.FigureBase.legend:251",
"lib/matplotlib/legend.py:docstring of matplotlib.legend.Legend:209",
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.figlegend:251",
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.legend:250"
]
},
"py:meth": {
"AbstractPathEffect._update_gc": [
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.SimpleLineShadow:44",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.SimplePatchShadow:42",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.TickedStroke:57",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.withSimplePatchShadow:51",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.withTickedStroke:56"
],
"IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook": [
"doc/users/explain/figure/interactive_guide.rst:420"
],
"_find_tails": [
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Barbs:9"
],
"_make_barbs": [
"lib/matplotlib/quiver.py:docstring of matplotlib.quiver.Barbs:9"
],
"matplotlib.collections._CollectionWithSizes.set_sizes": [
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.barbs:180",
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.broken_barh:85",
Expand Down Expand Up @@ -331,88 +181,12 @@
]
},
"py:obj": {
"Artist.stale_callback": [
"doc/users/explain/figure/interactive_guide.rst:323"
],
"Figure.stale_callback": [
"doc/users/explain/figure/interactive_guide.rst:333"
],
"Image": [
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.gci:4"
],
"Line2D.pick": [
"doc/users/explain/figure/event_handling.rst:571"
],
"Rectangle.contains": [
"doc/users/explain/figure/event_handling.rst:285"
],
"Size.from_any": [
"lib/mpl_toolkits/axes_grid1/axes_grid.py:docstring of mpl_toolkits.axes_grid1.axes_grid.ImageGrid:87"
],
"Timer": [
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.FigureCanvasBase.new_timer:2",
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.TimerBase:14"
],
"ToolContainer": [
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.ToolContainerBase.remove_toolitem:8",
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.ToolContainerBase:9"
],
"_iter_collection": [
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.RendererBase.draw_path_collection:15",
"lib/matplotlib/backends/backend_pdf.py:docstring of matplotlib.backends.backend_pdf.RendererPdf.draw_path_collection:15",
"lib/matplotlib/backends/backend_ps.py:docstring of matplotlib.backends.backend_ps.RendererPS.draw_path_collection:15",
"lib/matplotlib/backends/backend_svg.py:docstring of matplotlib.backends.backend_svg.RendererSVG.draw_path_collection:15",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.PathEffectRenderer.draw_path_collection:15"
],
"_iter_collection_raw_paths": [
"lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.RendererBase.draw_path_collection:15",
"lib/matplotlib/backends/backend_pdf.py:docstring of matplotlib.backends.backend_pdf.RendererPdf.draw_path_collection:15",
"lib/matplotlib/backends/backend_ps.py:docstring of matplotlib.backends.backend_ps.RendererPS.draw_path_collection:15",
"lib/matplotlib/backends/backend_svg.py:docstring of matplotlib.backends.backend_svg.RendererSVG.draw_path_collection:15",
"lib/matplotlib/patheffects.py:docstring of matplotlib.patheffects.PathEffectRenderer.draw_path_collection:15"
],
"_read": [
"lib/matplotlib/dviread.py:docstring of matplotlib.dviread.Vf:22"
],
"active": [
"lib/matplotlib/widgets.py:docstring of matplotlib.widgets.AxesWidget:21"
],
"ax.transAxes": [
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.inset_axes:11"
],
"can_composite": [
"lib/matplotlib/image.py:docstring of matplotlib.image.composite_images:9"
],
"converter": [
"lib/matplotlib/testing/compare.py:docstring of matplotlib.testing.compare.compare_images:4"
],
"draw_image": [
"lib/matplotlib/backends/backend_agg.py:docstring of matplotlib.backends.backend_agg.RendererAgg.option_scale_image:2"
],
"fmt_xdata": [
"lib/matplotlib/axes/_base.py:docstring of matplotlib.axes._base._AxesBase.format_xdata:4"
],
"fmt_ydata": [
"lib/matplotlib/axes/_base.py:docstring of matplotlib.axes._base._AxesBase.format_ydata:4"
],
"get_size": [
"lib/mpl_toolkits/axes_grid1/axes_size.py:docstring of mpl_toolkits.axes_grid1.axes_size:1"
],
"ipykernel.pylab.backend_inline": [
"doc/users/explain/figure/interactive.rst:361"
],
"kde.covariance_factor": [
"lib/matplotlib/mlab.py:docstring of matplotlib.mlab.GaussianKDE:29"
],
"kde.factor": [
"lib/matplotlib/axes/_axes.py:docstring of matplotlib.axes._axes.Axes.violinplot:58",
"lib/matplotlib/mlab.py:docstring of matplotlib.mlab.GaussianKDE:12",
"lib/matplotlib/mlab.py:docstring of matplotlib.mlab.GaussianKDE:33",
"lib/matplotlib/pyplot.py:docstring of matplotlib.pyplot.violinplot:58"
],
"make_image": [
"lib/matplotlib/image.py:docstring of matplotlib.image.composite_images:9"
],
"matplotlib.animation.ArtistAnimation.new_frame_seq": [
"doc/api/_as_gen/matplotlib.animation.ArtistAnimation.rst:23:<autosummary>:1"
],
Expand Down Expand Up @@ -613,21 +387,6 @@
],
"matplotlib.typing._HT": [
"<unknown>:1"
],
"mpl_toolkits.axislines.Axes": [
"lib/mpl_toolkits/axisartist/axis_artist.py:docstring of mpl_toolkits.axisartist.axis_artist:7"
],
"option_scale_image": [
"lib/matplotlib/backends/backend_cairo.py:docstring of matplotlib.backends.backend_cairo.RendererCairo.draw_image:22",
"lib/matplotlib/backends/backend_pdf.py:docstring of matplotlib.backends.backend_pdf.RendererPdf.draw_image:22",
"lib/matplotlib/backends/backend_ps.py:docstring of matplotlib.backends.backend_ps.RendererPS.draw_image:22",
"lib/matplotlib/backends/backend_template.py:docstring of matplotlib.backends.backend_template.RendererTemplate.draw_image:22"
],
"toggled": [
"lib/matplotlib/backend_tools.py:docstring of matplotlib.backend_tools.AxisScaleBase.disable:4",
"lib/matplotlib/backend_tools.py:docstring of matplotlib.backend_tools.AxisScaleBase.enable:4",
"lib/matplotlib/backend_tools.py:docstring of matplotlib.backend_tools.AxisScaleBase.trigger:2",
"lib/matplotlib/backend_tools.py:docstring of matplotlib.backend_tools.ZoomPanBase.trigger:2"
]
}
}
2 changes: 1 addition & 1 deletion galleries/users_explain/axes/axes_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Note that text can also be added to axes using `~.axes.Axes.text`, and `~.axes.A
Axes limits, scales, and ticking
--------------------------------

Each Axes has two (or more) `~.axis.Axis` objects, that can be accessed via :attr:`~matplotlib.axes.Axes.xaxis` and :attr:`~matplotlib.axes.Axes.yaxis` properties. These have substantial number of methods on them, and for highly customizable Axis-es it is useful to read the API at `~.axis.Axis`. However, the Axes class offers a number of helpers for the most common of these methods. Indeed, the `~.axes.Axes.set_xlabel`, discussed above, is a helper for the `~.Axis.set_label_text`.
Each Axes has two (or more) `~.axis.Axis` objects, that can be accessed via :attr:`!matplotlib.axes.Axes.xaxis` and :attr:`!matplotlib.axes.Axes.yaxis` properties. These have substantial number of methods on them, and for highly customizable Axis-es it is useful to read the API at `~.axis.Axis`. However, the Axes class offers a number of helpers for the most common of these methods. Indeed, the `~.axes.Axes.set_xlabel`, discussed above, is a helper for the `~.Axis.set_label_text`.

Other important methods set the extent on the axes (`~.axes.Axes.set_xlim`, `~.axes.Axes.set_ylim`), or more fundamentally the scale of the axes. So for instance, we can make an Axis have a logarithmic scale, and zoom in on a sub-portion of the data:

Expand Down
2 changes: 1 addition & 1 deletion galleries/users_explain/figure/interactive.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ however, nbagg does not work in Jupyter Lab.

To get the interactive functionality described here, you must be
using an interactive backend. The default backend in notebooks,
the inline backend, is not. `~ipykernel.pylab.backend_inline`
the inline backend, is not. `!ipykernel.pylab.backend_inline`
renders the figure once and inserts a static image into the
notebook when the cell is executed. Because the images are static, they
cannot be panned / zoomed, take user input, or be updated from other
Expand Down
6 changes: 3 additions & 3 deletions galleries/users_explain/figure/interactive_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ with what is displayed on the screen. This is intended to be used to
determine if ``draw_idle`` should be called to schedule a re-rendering
of the figure.

Each artist has a `.Artist.stale_callback` attribute which holds a callback
Each artist has a `!Artist.stale_callback` attribute which holds a callback
with the signature ::

def callback(self: Artist, val: bool) -> None:
Expand All @@ -339,7 +339,7 @@ default callback is `None`. If you call `.pyplot.ion` and are not in
`~.backend_bases.FigureCanvasBase.draw_idle` on any stale figures
after having executed the user's input, but before returning the prompt
to the user. If you are not using `.pyplot` you can use the callback
`Figure.stale_callback` attribute to be notified when a figure has
`!Figure.stale_callback` attribute to be notified when a figure has
become stale.


Expand Down Expand Up @@ -420,7 +420,7 @@ IPython / prompt_toolkit
With IPython >= 5.0 IPython has changed from using CPython's readline
based prompt to a ``prompt_toolkit`` based prompt. ``prompt_toolkit``
has the same conceptual input hook, which is fed into ``prompt_toolkit`` via the
:meth:`IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook`
:meth:`!IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook`
method. The source for the ``prompt_toolkit`` input hooks lives at
``IPython.terminal.pt_inputhooks``.

Expand Down
Loading
Loading