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

Skip to content

Commit 4a13444

Browse files
committed
DOC linking to auto_examples when possible
1 parent 9d805a1 commit 4a13444

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

doc/users/prev_whats_new/whats_new_1.1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Kevin Davies has extended Yannick Copin's original Sankey example into a module
2020
(:ref:`api-plot_sankey_basics`, :ref:`api-plot_sankey_links`,
2121
:ref:`api-plot_sankey_rankine`).
2222

23-
.. plot:: mpl_examples/api/plot_sankey_rankine.py
23+
.. plot:: auto_examples/api/plot_sankey_rankine.py
2424

2525

2626
Animation

doc/users/prev_whats_new/whats_new_1.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ In addition to simply plotting the streamlines of the vector field,
152152
line widths of the streamlines to a separate parameter, such as the speed or
153153
local intensity of the vector field.
154154

155-
.. plot:: mpl_examples/images_contours_and_fields/plot_streamplot_features.py
155+
.. plot:: auto_examples/images_contours_and_fields/plot_streamplot_features.py
156156

157157

158158
New hist functionality

doc/users/prev_whats_new/whats_new_1.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ matplotlib internals were cleaned up to support using such transforms in
160160
:class:`~matplotlib.Axes`. This transform is important for some plot types,
161161
specifically the Skew-T used in meteorology.
162162

163-
.. plot:: mpl_examples/api/plot_skewt.py
163+
.. plot:: auto_examples/api/plot_skewt.py
164164

165165
Support for specifying properties of wedge and text in pie charts.
166166
``````````````````````````````````````````````````````````````````

doc/users/prev_whats_new/whats_new_1.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ kwargs names is not ideal, but `Axes.fill_between` already has a
367367

368368
This is particularly useful for plotting pre-binned histograms.
369369

370-
.. plot:: mpl_examples/api/plot_filled_step.py
370+
.. plot:: auto_examples/api/plot_filled_step.py
371371

372372

373373
Square Plot

doc/users/screenshots.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Path demo
4343
You can add arbitrary paths in matplotlib using the
4444
:mod:`matplotlib.path` module:
4545

46-
.. plot:: mpl_examples/shapes_and_collections/plot_path_patch.py
46+
.. plot:: auto_examples/shapes_and_collections/plot_path_patch.py
4747

4848
.. _screenshots_mplot3d_surface:
4949

@@ -166,7 +166,7 @@ Fill demo
166166
The :func:`~matplotlib.pyplot.fill` command lets you
167167
plot filled curves and polygons:
168168

169-
.. plot:: mpl_examples/lines_bars_and_markers/plot_fill.py
169+
.. plot:: auto_examples/lines_bars_and_markers/plot_fill.py
170170

171171
Thanks to Andrew Straw for adding this function.
172172

@@ -178,7 +178,7 @@ Date demo
178178
You can plot date data with major and minor ticks and custom tick formatters
179179
for both.
180180

181-
.. plot:: mpl_examples/api/plot_date.py
181+
.. plot:: auto_examples/api/plot_date.py
182182

183183
See :mod:`matplotlib.ticker` and :mod:`matplotlib.dates` for details and usage.
184184

@@ -217,7 +217,7 @@ The :func:`~matplotlib.pyplot.legend` command automatically
217217
generates figure legends, with MATLAB-compatible legend placement
218218
commands.
219219

220-
.. plot:: mpl_examples/api/plot_legend.py
220+
.. plot:: auto_examples/api/plot_legend.py
221221

222222
Thanks to Charles Twardy for input on the legend command.
223223

@@ -278,4 +278,4 @@ XKCD-style sketch plots
278278
matplotlib supports plotting in the style of `xkcd
279279
<http://www.xkcd.com/>`.
280280

281-
.. plot:: mpl_examples/showcase/plot_xkcd.py
281+
.. plot:: auto_examples/showcase/plot_xkcd.py

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def legend(self, *args, **kwargs):
507507
Examples
508508
--------
509509
510-
.. plot:: mpl_examples/api/plot_legend.py
510+
.. plot:: auto_examples/api/plot_legend.py
511511
512512
"""
513513
handlers = kwargs.get('handler_map', {}) or {}
@@ -3917,7 +3917,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
39173917
39183918
Examples
39193919
--------
3920-
.. plot:: mpl_examples/shapes_and_collections/plot_scatter.py
3920+
.. plot:: auto_examples/shapes_and_collections/plot_scatter.py
39213921
39223922
"""
39233923

lib/matplotlib/path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def make_compound_path_from_polys(cls, XY):
317317
numsides x 2) numpy array of vertices. Return object is a
318318
:class:`Path`
319319
320-
.. plot:: mpl_examples/api/plot_histogram_path.py
320+
.. plot:: auto_examples/api/plot_histogram_path.py
321321
322322
"""
323323

lib/matplotlib/sankey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def __init__(self, ax=None, scale=1.0, unit='', format='%G', gap=0.25,
118118
119119
**Examples:**
120120
121-
.. plot:: mpl_examples/api/plot_sankey_basics.py
121+
.. plot:: auto_examples/api/plot_sankey_basics.py
122122
"""
123123
# Check the arguments.
124124
if gap < 0:

0 commit comments

Comments
 (0)