Skip to content

Commit 7d14e7b

Browse files
committed
adding sphinx gallery labels
1 parent 0b2619c commit 7d14e7b

File tree

101 files changed

+99
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+99
-216
lines changed

doc/api/animation_api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ to use the `~MovieWriter.saving` context manager ::
243243
to ensures that setup and cleanup are performed as necessary.
244244

245245

246-
:ref:`animation-moviewriter`
246+
:ref:`sphx_glr_gallery_animation_moviewriter_sgskip.py`
247247

248248

249249
.. _ani_writer_classes:
@@ -267,7 +267,7 @@ Animation Base Classes
267267
Custom Animation classes
268268
------------------------
269269

270-
:ref:`animation-subplots`
270+
:ref:`sphx_glr_gallery_animation_subplots.py`
271271

272272
Writer Registry
273273
---------------

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ original location:
782782
* The legend handler interface has changed from a callable, to any object
783783
which implements the ``legend_artists`` method (a deprecation phase will
784784
see this interface be maintained for v1.4). See
785-
:ref:`plotting-guide-legend` for further details. Further legend changes
785+
:ref:`sphx_glr_tutorials_02_intermediate_legend_guide.py` for further details. Further legend changes
786786
include:
787787

788788
* :func:`matplotlib.axes.Axes._get_legend_handles` now returns a generator

doc/devel/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ Developing a new backend
414414
------------------------
415415

416416
If you are working on a custom backend, the *backend* setting in
417-
:file:`matplotlibrc` (:ref:`customizing-matplotlib`) supports an
417+
:file:`matplotlibrc` (:ref:`sphx_glr_tutorials_01_introductory_customizing.py`) supports an
418418
external backend via the ``module`` directive. If
419419
:file:`my_backend.py` is a Matplotlib backend in your
420420
:envvar:`PYTHONPATH`, you can set it on one of several ways

doc/faq/howto_faq.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If you only want to use the `pandas` converter for `datetime64` values ::
4848
Find all objects in a figure of a certain type
4949
----------------------------------------------
5050

51-
Every Matplotlib artist (see :ref:`artist-tutorial`) has a method
51+
Every Matplotlib artist (see :ref:`sphx_glr_tutorials_02_intermediate_artists.py`) has a method
5252
called :meth:`~matplotlib.artist.Artist.findobj` that can be used to
5353
recursively search the artist for any artists it may contain that meet
5454
some criteria (e.g., match all :class:`~matplotlib.lines.Line2D`
@@ -160,7 +160,7 @@ labels::
160160
ax = fig.add_subplot(111)
161161

162162
You can control the defaults for these parameters in your
163-
:file:`matplotlibrc` file; see :ref:`customizing-matplotlib`. For
163+
:file:`matplotlibrc` file; see :ref:`sphx_glr_tutorials_01_introductory_customizing.py`. For
164164
example, to make the above setting permanent, you would set::
165165

166166
figure.subplot.bottom : 0.2 # the bottom of the subplots of the figure
@@ -191,7 +191,7 @@ specify the location explicitly::
191191
ax = fig.add_axes([left, bottom, width, height])
192192

193193
where all values are in fractional (0 to 1) coordinates. See
194-
:ref:`pylab_examples-axes_demo` for an example of placing axes manually.
194+
:ref:`sphx_glr_gallery_pylab_examples_axes_demo.py` for an example of placing axes manually.
195195

196196
.. _howto-auto-adjust:
197197

@@ -201,7 +201,7 @@ Automatically make room for tick labels
201201
.. note::
202202
This is now easier to handle than ever before.
203203
Calling :func:`~matplotlib.pyplot.tight_layout` can fix many common
204-
layout issues. See the :ref:`plotting-guide-tight-layout`.
204+
layout issues. See the :ref:`sphx_glr_tutorials_02_intermediate_tight_layout_guide.py`.
205205

206206
The information below is kept here in case it is useful for other
207207
purposes.
@@ -340,7 +340,7 @@ and patches, respectively::
340340

341341
.. htmlonly::
342342

343-
See :ref:`pylab_examples-zorder_demo` for a complete example.
343+
See :ref:`sphx_glr_gallery_pylab_examples_zorder_demo.py` for a complete example.
344344

345345
You can also use the Axes property
346346
:meth:`~matplotlib.axes.Axes.set_axisbelow` to control whether the grid
@@ -361,7 +361,7 @@ some ratio which controls the ratio::
361361

362362
.. htmlonly::
363363

364-
See :ref:`subplots_axes_and_figures-equal_aspect_ratio` for a complete
364+
See :ref:`sphx_glr_gallery_subplots_axes_and_figures_equal_aspect_ratio.py` for a complete
365365
example.
366366

367367

@@ -406,7 +406,7 @@ locators as desired because the two axes are independent.
406406

407407
.. htmlonly::
408408

409-
See :ref:`api-two_scales` for a complete example
409+
See :ref:`sphx_glr_gallery_api_two_scales.py` for a complete example
410410

411411
.. _howto-batch:
412412

@@ -652,7 +652,7 @@ For more on configuring your backend, see
652652

653653
Alternatively, you can avoid pylab/pyplot altogether, which will give
654654
you a little more control, by calling the API directly as shown in
655-
:ref:`api-agg_oo`.
655+
:ref:`sphx_glr_gallery_api_agg_oo_sgskip.py`.
656656

657657
You can either generate hardcopy on the filesystem by calling savefig::
658658

doc/faq/installing_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ and run it with::
3434

3535
This will give you additional information about which backends matplotlib is
3636
loading, version information, and more. At this point you might want to make
37-
sure you understand matplotlib's :ref:`configuration <customizing-matplotlib>`
37+
sure you understand matplotlib's :ref:`configuration <sphx_glr_tutorials_01_introductory_customizing.py>`
3838
process, governed by the :file:`matplotlibrc` configuration file which contains
3939
instructions within and the concept of the matplotlib backend.
4040

doc/faq/troubleshooting_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ please provide the following information in your e-mail to the
108108

109109

110110
* any customizations to your ``matplotlibrc`` file (see
111-
:ref:`customizing-matplotlib`).
111+
:ref:`sphx_glr_tutorials_01_introductory_customizing.py`).
112112

113113
* if the problem is reproducible, please try to provide a *minimal*,
114114
standalone Python script that demonstrates the problem. This is

doc/users/dflt_style_changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ are only specified via hex values. To access these colors outside of
9494
the property cycling the notation for colors ``'CN'``, where ``N``
9595
takes values 0-9, was added to
9696
denote the first 10 colors in ``mpl.rcParams['axes.prop_cycle']`` See
97-
:ref:`colors` for more details.
97+
:ref:`sphx_glr_tutorials_colors_colors.py` for more details.
9898

9999
To restore the old color cycle use
100100

@@ -143,7 +143,7 @@ watch Nathaniel Smith and Stéfan van der Walt's talk from SciPy2015.
143143
See `here for many more details <https://bids.github.io/colormap/>`__
144144
about the other alternatives and the tools used to create the color
145145
map. For details on all of the color maps available in matplotlib see
146-
:ref:`colormaps`.
146+
:ref:`sphx_glr_tutorials_colors_colormaps.py`.
147147

148148
.. raw:: html
149149

doc/users/intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ The Matplotlib code is conceptually divided into three parts: the
6262
*pylab interface* is the set of functions provided by
6363
:mod:`matplotlib.pylab` which allow the user to create plots with code
6464
quite similar to MATLAB figure generating code
65-
(:ref:`pyplot-tutorial`). The *Matplotlib frontend* or *Matplotlib
65+
(:ref:`sphx_glr_tutorials_01_introductory_pyplot.py`). The *Matplotlib frontend* or *Matplotlib
6666
API* is the set of classes that do the heavy lifting, creating and
6767
managing figures, text, lines, plots and so on
68-
(:ref:`artist-tutorial`). This is an abstract interface that knows
68+
(:ref:`sphx_glr_tutorials_02_intermediate_artists.py`). This is an abstract interface that knows
6969
nothing about output. The *backends* are device-dependent drawing
7070
devices, aka renderers, that transform the frontend representation to
7171
hardcopy or a display device (:ref:`what-is-a-backend`). Example

doc/users/prev_whats_new/whats_new_0.98.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ psd amplitude scaling
7979

8080
Ryan May did a lot of work to rationalize the amplitude scaling of
8181
:func:`~matplotlib.pyplot.psd` and friends. See
82-
:ref:`pylab_examples-psd_demo2`. and :ref:`pylab_examples-psd_demo3`.
82+
:ref:`sphx_glr_gallery_pylab_examples_psd_demo2.py`. and :ref:`sphx_glr_gallery_pylab_examples_psd_demo3.py`.
8383
The changes should increase MATLAB
8484
compatibility and increase scaling options.
8585

doc/users/prev_whats_new/whats_new_0.99.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ New in matplotlib 0.99
1111
New documentation
1212
-----------------
1313

14-
Jae-Joon Lee has written two new guides :ref:`plotting-guide-legend`
14+
Jae-Joon Lee has written two new guides :ref:`sphx_glr_tutorials_02_intermediate_legend_guide.py`
1515
and :ref:`plotting-guide-annotation`. Michael Sarahan has written
16-
:ref:`image_tutorial`. John Hunter has written two new tutorials on
17-
working with paths and transformations: :ref:`path_tutorial` and
18-
:ref:`transforms_tutorial`.
16+
:ref:`sphx_glr_tutorials_01_introductory_images.py`. John Hunter has written two new tutorials on
17+
working with paths and transformations: :ref:`sphx_glr_tutorials_03_advanced_path_tutorial.py` and
18+
:ref:`sphx_glr_tutorials_03_advanced_transforms_tutorial.py`.
1919

2020
.. _whats-new-mplot3d:
2121

@@ -65,7 +65,7 @@ that denote the data limits -- in various arbitrary locations. No
6565
longer are your axis lines constrained to be a simple rectangle around
6666
the figure -- you can turn on or off left, bottom, right and top, as
6767
well as "detach" the spine to offset it away from the data. See
68-
:ref:`pylab_examples-spine_placement_demo` and
68+
:ref:`sphx_glr_gallery_pylab_examples_spine_placement_demo.py` and
6969
:class:`matplotlib.spines.Spine`.
7070

7171
.. figure:: ../../gallery/pyplots/images/sphx_glr_whats_new_99_spines_001.png

0 commit comments

Comments
 (0)