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

Skip to content

Commit 60de502

Browse files
committed
De-duplicated mplot3D API docs
1 parent a35921c commit 60de502

File tree

5 files changed

+17
-27
lines changed

5 files changed

+17
-27
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
3D contourf polygons placed between levels
22
------------------------------------------
3-
The polygons used in a 3D `~mpl_toolkits.mplot3d.Axes3D.contourf` plot are
3+
The polygons used in a 3D `~.Axes3D.contourf` plot are
44
now placed halfway between the contour levels, as each polygon represents the
55
location of values that lie between two levels.

doc/api/prev_api_changes/api_changes_3.5.0/behaviour.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ yet parsed, but this is a prerequisite for implementing subsetting.
235235
3D contourf polygons placed between levels
236236
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237237

238-
The polygons used in a 3D `~mpl_toolkits.mplot3d.Axes3D.contourf` plot are now
238+
The polygons used in a 3D `~.Axes3D.contourf` plot are now
239239
placed halfway between the contour levels, as each polygon represents the
240240
location of values that lie between two levels.
241241

doc/users/prev_whats_new/whats_new_1.4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Simple quiver plot for mplot3d toolkit
242242
A team of students in an *Engineering Large Software Systems* course, taught
243243
by Prof. Anya Tafliovich at the University of Toronto, implemented a simple
244244
version of a quiver plot in 3D space for the mplot3d toolkit as one of their
245-
term project. This feature is documented in :func:`~mpl_toolkits.mplot3d.Axes3D.quiver`.
245+
term project. This feature is documented in `~.Axes3D.quiver`.
246246
The team members are: Ryan Steve D'Souza, Victor B, xbtsw, Yang Wang, David,
247247
Caradec Bisesar and Vlad Vassilovski.
248248

doc/users/prev_whats_new/whats_new_1.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Added a :mod:`.legend_handler` for :class:`~matplotlib.collections.PolyCollectio
340340
Support for alternate pivots in mplot3d quiver plot
341341
```````````````````````````````````````````````````
342342

343-
Added a :code:`pivot` kwarg to :func:`~mpl_toolkits.mplot3d.Axes3D.quiver`
343+
Added a :code:`pivot` kwarg to `~.Axes3D.quiver`
344344
that controls the pivot point around which the quiver line rotates. This also
345345
determines the placement of the arrow head along the quiver line.
346346

tutorials/toolkits/mplot3d.py

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
66
Generating 3D plots using the mplot3d toolkit.
77
8-
.. currentmodule:: mpl_toolkits.mplot3d
8+
This tutorial showcases various 3D plots. Click on the figures to see each full
9+
gallery example with the code that generates the figures.
910
1011
.. contents::
1112
:backlinks: none
@@ -39,79 +40,72 @@
3940
4041
Line plots
4142
==========
43+
See `.Axes3D.plot` for API documentation.
4244
4345
.. figure:: ../../gallery/mplot3d/images/sphx_glr_lines3d_001.png
4446
:target: ../../gallery/mplot3d/lines3d.html
4547
:align: center
4648
47-
.. automethod:: Axes3D.plot
48-
4949
.. _scatter3d:
5050
5151
Scatter plots
5252
=============
53+
See `.Axes3D.scatter` for API documentation.
5354
5455
.. figure:: ../../gallery/mplot3d/images/sphx_glr_scatter3d_001.png
5556
:target: ../../gallery/mplot3d/scatter3d.html
5657
:align: center
5758
58-
.. automethod:: Axes3D.scatter
59-
6059
.. _wireframe:
6160
6261
Wireframe plots
6362
===============
63+
See `.Axes3D.plot_wireframe` for API documentation.
6464
6565
.. figure:: ../../gallery/mplot3d/images/sphx_glr_wire3d_001.png
6666
:target: ../../gallery/mplot3d/wire3d.html
6767
:align: center
6868
69-
.. automethod:: Axes3D.plot_wireframe
70-
7169
.. _surface:
7270
7371
Surface plots
7472
=============
73+
See `.Axes3D.plot_surface` for API documentation.
7574
7675
.. figure:: ../../gallery/mplot3d/images/sphx_glr_surface3d_001.png
7776
:target: ../../gallery/mplot3d/surface3d.html
7877
:align: center
7978
80-
.. automethod:: Axes3D.plot_surface
81-
8279
.. _trisurface:
8380
8481
Tri-Surface plots
8582
=================
83+
See `.Axes3D.plot_trisurf` for API documentation.
8684
8785
.. figure:: ../../gallery/mplot3d/images/sphx_glr_trisurf3d_001.png
8886
:target: ../../gallery/mplot3d/trisurf3d.html
8987
:align: center
9088
91-
.. automethod:: Axes3D.plot_trisurf
92-
9389
.. _contour3d:
9490
9591
Contour plots
9692
=============
93+
See `.Axes3D.contour` for API documentation.
9794
9895
.. figure:: ../../gallery/mplot3d/images/sphx_glr_contour3d_001.png
9996
:target: ../../gallery/mplot3d/contour3d.html
10097
:align: center
10198
102-
.. automethod:: Axes3D.contour
103-
10499
.. _contourf3d:
105100
106101
Filled contour plots
107102
====================
103+
See `.Axes3D.contourf` for API documentation.
108104
109105
.. figure:: ../../gallery/mplot3d/images/sphx_glr_contourf3d_001.png
110106
:target: ../../gallery/mplot3d/contourf3d.html
111107
:align: center
112108
113-
.. automethod:: Axes3D.contourf
114-
115109
.. versionadded:: 1.1.0
116110
The feature demoed in the second contourf3d example was enabled as a
117111
result of a bugfix for version 1.1.0.
@@ -120,35 +114,32 @@
120114
121115
Polygon plots
122116
=============
117+
See `.Axes3D.add_collection3d` for API documentation.
123118
124119
.. figure:: ../../gallery/mplot3d/images/sphx_glr_polys3d_001.png
125120
:target: ../../gallery/mplot3d/polys3d.html
126121
:align: center
127122
128-
.. automethod:: Axes3D.add_collection3d
129-
130123
.. _bar3d:
131124
132125
Bar plots
133126
=========
127+
See `.Axes3D.bar` for API documentation.
134128
135129
.. figure:: ../../gallery/mplot3d/images/sphx_glr_bars3d_001.png
136130
:target: ../../gallery/mplot3d/bars3d.html
137131
:align: center
138132
139-
.. automethod:: Axes3D.bar
140-
141133
.. _quiver3d:
142134
143135
Quiver
144136
======
137+
See `.Axes3D.quiver` for API documentation.
145138
146139
.. figure:: ../../gallery/mplot3d/images/sphx_glr_quiver3d_001.png
147140
:target: ../../gallery/mplot3d/quiver3d.html
148141
:align: center
149142
150-
.. automethod:: Axes3D.quiver
151-
152143
.. _2dcollections3d:
153144
154145
2D plots in 3D
@@ -161,10 +152,9 @@
161152
162153
Text
163154
====
155+
See `.Axes3D.text` for API documentation.
164156
165157
.. figure:: ../../gallery/mplot3d/images/sphx_glr_text3d_001.png
166158
:target: ../../gallery/mplot3d/text3d.html
167159
:align: center
168-
169-
.. automethod:: Axes3D.text
170160
"""

0 commit comments

Comments
 (0)