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

Skip to content

Commit 752cd64

Browse files
committed
switching to examples_gallery
1 parent c9b2ad9 commit 752cd64

File tree

18 files changed

+62
-62
lines changed

18 files changed

+62
-62
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
build
3333
# sphinx build directory
3434
doc/_build
35-
doc/auto_examples
35+
doc/examples_gallery
3636
# setup.py dist directory
3737
dist
3838
# Egg metadata

doc/_templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1>Introduction</h1>
7676
You can generate plots, histograms, power spectra, bar charts,
7777
errorcharts, scatterplots, etc., with just a few lines of code.
7878
For a sampling, see the <a href="{{ pathto('users/screenshots')
79-
}}">screenshots</a>, <a href="{{ pathto('auto_examples/index') }}">thumbnail</a> gallery, and
79+
}}">screenshots</a>, <a href="{{ pathto('examples_gallery/index') }}">thumbnail</a> gallery, and
8080
<a href="{{ pathto('examples/index') }}">examples</a> directory</p>
8181

8282
<p>For simple plotting the <tt>pyplot</tt> module provides a
@@ -100,7 +100,7 @@ <h1>Documentation</h1>
100100
</script>
101101

102102
<p>Trying to learn how to do a particular kind of plot? Check out
103-
the <a href="{{ pathto('auto_examples/index') }}">gallery</a>, <a href="{{ pathto('examples/index') }}">examples</a>,
103+
the <a href="{{ pathto('examples_gallery/index') }}">gallery</a>, <a href="{{ pathto('examples/index') }}">examples</a>,
104104
or the <a href="{{ pathto('api/pyplot_summary') }}">list of plotting
105105
commands</a>.</p>
106106

doc/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h3>{{ _('Navigation') }}</h3>
3939

4040
<li><a href="{{ pathto('index') }}">home</a>|&nbsp;</li>
4141
<li><a href="{{ pathto('examples/index') }}">examples</a>|&nbsp;</li>
42-
<li><a href="{{ pathto('auto_examples/index') }}">gallery</a>|&nbsp;</li>
42+
<li><a href="{{ pathto('examples_gallery/index') }}">gallery</a>|&nbsp;</li>
4343
<li><a href="{{ pathto('api/pyplot_summary') }}">pyplot</a>|&nbsp;</li>
4444
<li><a href="{{ pathto('contents') }}">docs</a> &raquo;</li>
4545

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
# path to your examples scripts
110110
'examples_dirs' : '../examples',
111111
# path where to save gallery generated examples
112-
'gallery_dirs' : 'auto_examples'}
112+
'gallery_dirs' : 'examples_gallery'}
113113

114114
plot_gallery = True
115115

doc/devel/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ We have hundreds of examples in subdirectories of
442442
:file:`matplotlib/examples`, and these are automatically generated
443443
when the website is built to show up both in the `examples
444444
<../examples/index.html>`_ and `gallery
445-
<../auto_examples/index.html>`_ sections of the website.
445+
<../examples_gallery/index.html>`_ sections of the website.
446446

447447
Any sample data that the example uses should be kept small and
448448
distributed with Matplotlib in the

doc/mpl_toolkits/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ plotting (scatter, surf, line, mesh) tools. Not the fastest or feature
3030
complete 3D library out there, but ships with Matplotlib and thus may be a
3131
lighter weight solution for some use cases.
3232

33-
.. plot:: auto_examples/mplot3d/plot_contourf3d_2.py
33+
.. plot:: examples_gallery/mplot3d/plot_contourf3d_2.py
3434

3535
.. _toolkit_axes_grid1:
3636

doc/mpl_toolkits/mplot3d/tutorial.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,41 +36,41 @@ Line plots
3636
====================
3737
.. automethod:: Axes3D.plot
3838

39-
.. plot:: auto_examples/mplot3d/plot_lines3d.py
39+
.. plot:: examples_gallery/mplot3d/plot_lines3d.py
4040

4141
.. _scatter3d:
4242

4343
Scatter plots
4444
=============
4545
.. automethod:: Axes3D.scatter
4646

47-
.. plot:: auto_examples/mplot3d/plot_scatter3d.py
47+
.. plot:: examples_gallery/mplot3d/plot_scatter3d.py
4848

4949
.. _wireframe:
5050

5151
Wireframe plots
5252
===============
5353
.. automethod:: Axes3D.plot_wireframe
5454

55-
.. plot:: auto_examples/mplot3d/plot_wire3d.py
55+
.. plot:: examples_gallery/mplot3d/plot_wire3d.py
5656

5757
.. _surface:
5858

5959
Surface plots
6060
=============
6161
.. automethod:: Axes3D.plot_surface
6262

63-
.. plot:: auto_examples/mplot3d/plot_surface3d.py
64-
.. plot:: auto_examples/mplot3d/plot_surface3d_2.py
65-
.. plot:: auto_examples/mplot3d/plot_surface3d_3.py
63+
.. plot:: examples_gallery/mplot3d/plot_surface3d.py
64+
.. plot:: examples_gallery/mplot3d/plot_surface3d_2.py
65+
.. plot:: examples_gallery/mplot3d/plot_surface3d_3.py
6666

6767
.. _trisurface:
6868

6969
Tri-Surface plots
7070
=================
7171
.. automethod:: Axes3D.plot_trisurf
7272

73-
.. plot:: auto_examples/mplot3d/plot_trisurf3d.py
73+
.. plot:: examples_gallery/mplot3d/plot_trisurf3d.py
7474

7575

7676
.. _contour3d:
@@ -79,18 +79,18 @@ Contour plots
7979
=============
8080
.. automethod:: Axes3D.contour
8181

82-
.. plot:: auto_examples/mplot3d/plot_contour3d.py
83-
.. plot:: auto_examples/mplot3d/plot_contour3d_2.py
84-
.. plot:: auto_examples/mplot3d/plot_contour3d_3.py
82+
.. plot:: examples_gallery/mplot3d/plot_contour3d.py
83+
.. plot:: examples_gallery/mplot3d/plot_contour3d_2.py
84+
.. plot:: examples_gallery/mplot3d/plot_contour3d_3.py
8585

8686
.. _contourf3d:
8787

8888
Filled contour plots
8989
====================
9090
.. automethod:: Axes3D.contourf
9191

92-
.. plot:: auto_examples/mplot3d/plot_contourf3d.py
93-
.. plot:: auto_examples/mplot3d/plot_contourf3d_2.py
92+
.. plot:: examples_gallery/mplot3d/plot_contourf3d.py
93+
.. plot:: examples_gallery/mplot3d/plot_contourf3d_2.py
9494

9595
.. versionadded:: 1.1.0
9696
The feature demoed in the second contourf3d example was enabled as a
@@ -102,37 +102,37 @@ Polygon plots
102102
====================
103103
.. automethod:: Axes3D.add_collection3d
104104

105-
.. plot:: auto_examples/mplot3d/plot_polys3d.py
105+
.. plot:: examples_gallery/mplot3d/plot_polys3d.py
106106

107107
.. _bar3d:
108108

109109
Bar plots
110110
====================
111111
.. automethod:: Axes3D.bar
112112

113-
.. plot:: auto_examples/mplot3d/plot_bars3d.py
113+
.. plot:: examples_gallery/mplot3d/plot_bars3d.py
114114

115115
.. _quiver3d:
116116

117117
Quiver
118118
====================
119119
.. automethod:: Axes3D.quiver
120120

121-
.. plot:: auto_examples/mplot3d/plot_quiver3d.py
121+
.. plot:: examples_gallery/mplot3d/plot_quiver3d.py
122122

123123
.. _2dcollections3d:
124124

125125
2D plots in 3D
126126
====================
127-
.. plot:: auto_examples/mplot3d/plot_2dcollections3d.py
127+
.. plot:: examples_gallery/mplot3d/plot_2dcollections3d.py
128128

129129
.. _text3d:
130130

131131
Text
132132
====================
133133
.. automethod:: Axes3D.text
134134

135-
.. plot:: auto_examples/mplot3d/plot_text3d.py
135+
.. plot:: examples_gallery/mplot3d/plot_text3d.py
136136

137137
.. _3dsubplots:
138138

@@ -146,5 +146,5 @@ in the same figure.
146146
Subplotting 3D plots was added in v1.0.0. Earlier version can not
147147
do this.
148148

149-
.. plot:: auto_examples/mplot3d/plot_subplot3d.py
150-
.. plot:: auto_examples/mplot3d/plot_mixed_subplots.py
149+
.. plot:: examples_gallery/mplot3d/plot_subplot3d.py
150+
.. plot:: examples_gallery/mplot3d/plot_mixed_subplots.py

doc/users/prev_whats_new/whats_new_1.1.rst

Lines changed: 3 additions & 3 deletions
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:: auto_examples/api/plot_sankey_rankine.py
23+
.. plot:: examples_gallery/api/plot_sankey_rankine.py
2424

2525

2626
Animation
@@ -135,12 +135,12 @@ as 2D plotting, Ben Root has made several improvements to the
135135

136136
* Ticker offset display added:
137137

138-
.. plot:: auto_examples/mplot3d/plot_offset.py
138+
.. plot:: examples_gallery/mplot3d/plot_offset.py
139139

140140
* :meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.contourf`
141141
gains *zdir* and *offset* kwargs. You can now do this:
142142

143-
.. plot:: auto_examples/mplot3d/plot_contourf3d_2.py
143+
.. plot:: examples_gallery/mplot3d/plot_contourf3d_2.py
144144

145145
Numerix support removed
146146
-----------------------

doc/users/prev_whats_new/whats_new_1.2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Damon McDougall added a new plotting method for the
6161
:mod:`~mpl_toolkits.mplot3d` toolkit called
6262
:meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.plot_trisurf`.
6363

64-
.. plot:: auto_examples/mplot3d/plot_trisurf3d.py
64+
.. plot:: examples_gallery/mplot3d/plot_trisurf3d.py
6565

6666
Control the lengths of colorbar extensions
6767
------------------------------------------
@@ -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:: auto_examples/images_contours_and_fields/plot_streamplot_features.py
155+
.. plot:: examples_gallery/images_contours_and_fields/plot_streamplot_features.py
156156

157157

158158
New hist functionality

doc/users/prev_whats_new/whats_new_1.3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ before creating your plot. For really fine control, it is also possible
9191
to modify each artist's sketch parameters individually with
9292
:meth:`matplotlib.artist.Artist.set_sketch_params`.
9393

94-
.. plot:: auto_examples/showcase/plot_xkcd.py
94+
.. plot:: examples_gallery/showcase/plot_xkcd.py
9595

9696
Updated Axes3D.contour methods
9797
------------------------------
@@ -100,7 +100,7 @@ Damon McDougall updated the
100100
:meth:`~mpl_toolkits.mplot3d.axes3d.Axes3D.tricontourf` methods to allow 3D
101101
contour plots on abitrary unstructured user-specified triangulations.
102102

103-
.. plot:: auto_examples/mplot3d/plot_tricontour3d.py
103+
.. plot:: examples_gallery/mplot3d/plot_tricontour3d.py
104104

105105
New eventplot plot type
106106
```````````````````````

doc/users/prev_whats_new/whats_new_1.4.rst

Lines changed: 2 additions & 2 deletions
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:: auto_examples/api/plot_skewt.py
163+
.. plot:: examples_gallery/api/plot_skewt.py
164164

165165
Support for specifying properties of wedge and text in pie charts.
166166
``````````````````````````````````````````````````````````````````
@@ -243,7 +243,7 @@ term project. This feature is documented in :func:`~mpl_toolkits.mplot3d.Axes3D.
243243
The team members are: Ryan Steve D'Souza, Victor B, xbtsw, Yang Wang, David,
244244
Caradec Bisesar and Vlad Vassilovski.
245245

246-
.. plot:: auto_examples/mplot3d/plot_quiver3d.py
246+
.. plot:: examples_gallery/mplot3d/plot_quiver3d.py
247247

248248
polar-plot r-tick locations
249249
```````````````````````````

doc/users/prev_whats_new/whats_new_1.5.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You can even multiply cyclers, which is like using `itertools.product()`
109109
on two or more property cycles. Remember to use parentheses if writing
110110
a multi-line `prop_cycle` parameter.
111111

112-
.. plot:: auto_examples/color/plot_color_cycle.py
112+
.. plot:: examples_gallery/color/plot_color_cycle.py
113113

114114

115115
New Colormaps
@@ -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:: auto_examples/api/plot_filled_step.py
370+
.. plot:: examples_gallery/api/plot_filled_step.py
371371

372372

373373
Square Plot

doc/users/screenshots.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Subplot demo
2222
Multiple axes (i.e. subplots) are created with the
2323
:func:`~matplotlib.pyplot.subplot` command:
2424

25-
.. plot:: auto_examples/subplots_axes_and_figures/plot_subplot.py
25+
.. plot:: examples_gallery/subplots_axes_and_figures/plot_subplot.py
2626

2727
.. _screenshots_histogram_demo:
2828

@@ -32,7 +32,7 @@ Histograms
3232
The :func:`~matplotlib.pyplot.hist` command automatically generates
3333
histograms and returns the bin counts or probabilities:
3434

35-
.. plot:: auto_examples/statistics/plot_histogram_features.py
35+
.. plot:: examples_gallery/statistics/plot_histogram_features.py
3636

3737

3838
.. _screenshots_path_demo:
@@ -43,7 +43,7 @@ Path demo
4343
You can add arbitrary paths in matplotlib using the
4444
:mod:`matplotlib.path` module:
4545

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

4848
.. _screenshots_mplot3d_surface:
4949

@@ -54,7 +54,7 @@ The mplot3d toolkit (see :ref:`toolkit_mplot3d-tutorial` and
5454
:ref:`mplot3d-examples-index`) has support for simple 3d graphs
5555
including surface, wireframe, scatter, and bar charts.
5656

57-
.. plot:: auto_examples/mplot3d/plot_surface3d.py
57+
.. plot:: examples_gallery/mplot3d/plot_surface3d.py
5858

5959
Thanks to John Porter, Jonathon Taylor, Reinier Heeres, and Ben Root for
6060
the `mplot3d` toolkit. This toolkit is included with all standard matplotlib
@@ -71,7 +71,7 @@ a vector field. In addition to simply plotting the streamlines, it allows you
7171
to map the colors and/or line widths of streamlines to a separate parameter,
7272
such as the speed or local intensity of the vector field.
7373

74-
.. plot:: auto_examples/images_contours_and_fields/plot_streamplot_features.py
74+
.. plot:: examples_gallery/images_contours_and_fields/plot_streamplot_features.py
7575

7676
This feature complements the :meth:`~matplotlib.pyplot.quiver` function for
7777
plotting vector fields. Thanks to Tom Flannaghan and Tony Yu for adding the
@@ -117,7 +117,7 @@ exploding one or more wedges from the center of the pie, and a shadow effect.
117117
Take a close look at the attached code, which generates this figure in just
118118
a few lines of code.
119119

120-
.. plot:: auto_examples/pie_and_polar_charts/plot_pie_features.py
120+
.. plot:: examples_gallery/pie_and_polar_charts/plot_pie_features.py
121121

122122
.. _screenshots_table_demo:
123123

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

169-
.. plot:: auto_examples/lines_bars_and_markers/plot_fill.py
169+
.. plot:: examples_gallery/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:: auto_examples/api/plot_date.py
181+
.. plot:: examples_gallery/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:: auto_examples/api/plot_legend.py
220+
.. plot:: examples_gallery/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:: auto_examples/showcase/plot_xkcd.py
281+
.. plot:: examples_gallery/showcase/plot_xkcd.py

0 commit comments

Comments
 (0)