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

18 files changed

Lines changed: 62 additions & 62 deletions

File tree

.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
```````````````````````

0 commit comments

Comments
 (0)