Skip to content

Commit fa2f2cf

Browse files
committed
Re-arrange mplot3d tutorial.
Place example images before API description, and don't scale down to 50%.
1 parent f1bf5be commit fa2f2cf

File tree

1 file changed

+28
-30
lines changed

1 file changed

+28
-30
lines changed

tutorials/toolkits/mplot3d.py

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
.. figure:: ../../gallery/mplot3d/images/sphx_glr_subplot3d_001.png
2323
:target: ../../gallery/mplot3d/subplot3d.html
2424
:align: center
25-
:scale: 50
2625
2726
.. versionchanged:: 1.0.0
2827
Prior to Matplotlib 1.0.0, only a single `.Axes3D` could be created per
@@ -39,79 +38,79 @@
3938
.. _plot3d:
4039
4140
Line plots
42-
====================
43-
.. automethod:: Axes3D.plot
41+
==========
4442
4543
.. figure:: ../../gallery/mplot3d/images/sphx_glr_lines3d_001.png
4644
:target: ../../gallery/mplot3d/lines3d.html
4745
:align: center
48-
:scale: 50
46+
47+
.. automethod:: Axes3D.plot
4948
5049
.. _scatter3d:
5150
5251
Scatter plots
5352
=============
54-
.. automethod:: Axes3D.scatter
5553
5654
.. figure:: ../../gallery/mplot3d/images/sphx_glr_scatter3d_001.png
5755
:target: ../../gallery/mplot3d/scatter3d.html
5856
:align: center
59-
:scale: 50
57+
58+
.. automethod:: Axes3D.scatter
6059
6160
.. _wireframe:
6261
6362
Wireframe plots
6463
===============
65-
.. automethod:: Axes3D.plot_wireframe
6664
6765
.. figure:: ../../gallery/mplot3d/images/sphx_glr_wire3d_001.png
6866
:target: ../../gallery/mplot3d/wire3d.html
6967
:align: center
70-
:scale: 50
68+
69+
.. automethod:: Axes3D.plot_wireframe
7170
7271
.. _surface:
7372
7473
Surface plots
7574
=============
76-
.. automethod:: Axes3D.plot_surface
7775
7876
.. figure:: ../../gallery/mplot3d/images/sphx_glr_surface3d_001.png
7977
:target: ../../gallery/mplot3d/surface3d.html
8078
:align: center
81-
:scale: 50
79+
80+
.. automethod:: Axes3D.plot_surface
8281
8382
.. _trisurface:
8483
8584
Tri-Surface plots
8685
=================
87-
.. automethod:: Axes3D.plot_trisurf
8886
8987
.. figure:: ../../gallery/mplot3d/images/sphx_glr_trisurf3d_001.png
9088
:target: ../../gallery/mplot3d/trisurf3d.html
9189
:align: center
92-
:scale: 50
90+
91+
.. automethod:: Axes3D.plot_trisurf
9392
9493
.. _contour3d:
9594
9695
Contour plots
9796
=============
98-
.. automethod:: Axes3D.contour
9997
10098
.. figure:: ../../gallery/mplot3d/images/sphx_glr_contour3d_001.png
10199
:target: ../../gallery/mplot3d/contour3d.html
102100
:align: center
103-
:scale: 50
101+
102+
.. automethod:: Axes3D.contour
104103
105104
.. _contourf3d:
106105
107106
Filled contour plots
108107
====================
109-
.. automethod:: Axes3D.contourf
110108
111109
.. figure:: ../../gallery/mplot3d/images/sphx_glr_contourf3d_001.png
112110
:target: ../../gallery/mplot3d/contourf3d.html
113111
:align: center
114-
:scale: 50
112+
113+
.. automethod:: Axes3D.contourf
115114
116115
.. versionadded:: 1.1.0
117116
The feature demoed in the second contourf3d example was enabled as a
@@ -120,53 +119,52 @@
120119
.. _polygon3d:
121120
122121
Polygon plots
123-
====================
124-
.. automethod:: Axes3D.add_collection3d
122+
=============
125123
126124
.. figure:: ../../gallery/mplot3d/images/sphx_glr_polys3d_001.png
127125
:target: ../../gallery/mplot3d/polys3d.html
128126
:align: center
129-
:scale: 50
127+
128+
.. automethod:: Axes3D.add_collection3d
130129
131130
.. _bar3d:
132131
133132
Bar plots
134-
====================
135-
.. automethod:: Axes3D.bar
133+
=========
136134
137135
.. figure:: ../../gallery/mplot3d/images/sphx_glr_bars3d_001.png
138136
:target: ../../gallery/mplot3d/bars3d.html
139137
:align: center
140-
:scale: 50
138+
139+
.. automethod:: Axes3D.bar
141140
142141
.. _quiver3d:
143142
144143
Quiver
145-
====================
146-
.. automethod:: Axes3D.quiver
144+
======
147145
148146
.. figure:: ../../gallery/mplot3d/images/sphx_glr_quiver3d_001.png
149147
:target: ../../gallery/mplot3d/quiver3d.html
150148
:align: center
151-
:scale: 50
149+
150+
.. automethod:: Axes3D.quiver
152151
153152
.. _2dcollections3d:
154153
155154
2D plots in 3D
156-
====================
155+
==============
157156
.. figure:: ../../gallery/mplot3d/images/sphx_glr_2dcollections3d_001.png
158157
:target: ../../gallery/mplot3d/2dcollections3d.html
159158
:align: center
160-
:scale: 50
161159
162160
.. _text3d:
163161
164162
Text
165-
====================
166-
.. automethod:: Axes3D.text
163+
====
167164
168165
.. figure:: ../../gallery/mplot3d/images/sphx_glr_text3d_001.png
169166
:target: ../../gallery/mplot3d/text3d.html
170167
:align: center
171-
:scale: 50
168+
169+
.. automethod:: Axes3D.text
172170
"""

0 commit comments

Comments
 (0)