8000 addressing comments · matplotlib/matplotlib@b7d733e · GitHub
[go: up one dir, main page]

Skip to content

Commit b7d733e

Browse files
committed
addressing comments
1 parent 46a8349 commit b7d733e

File tree

4 files changed

+23
-19
lines changed

4 files changed

+23
-19
lines changed

doc/api/toolkits/axes_grid.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,17 @@ The Matplotlib axes_grid Toolkit API
1111

1212
Axes Grid
1313
---------
14+
.. note::
15+
16+
There is an older version of the AxesGrid toolkit, simply called ``axes_grid`` instead of
17+
``axes_grid1``. the toolkit had a single namespace of axes_grid. This toolkit was broken
18+
into the two modules below. For the documentation on the original ``axes_grid``
19+
module, see the `previous version of the docs
20+
<http://matplotlib.org/2.0.1/mpl_toolkits/axes_grid/index.html#toolkit-axesgrid-index>`_.
1421

1522
.. autosummary::
1623
:toctree: ../_as_gen
1724
:template: automodule.rst
1825

19-
axes_grid
2026
axes_grid1
2127
axisartist

doc/api/toolkits/mplot3d.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ mplot3d API
2424
:toctree: ../_as_gen
2525
:template: autosummary.rst
2626

27-
axes3d.Axes
2827
axes3d.Axes3D
29-
axes3d.Bbox
30-
axes3d.LightSource
31-
axes3d.Normalize
32-
axes3d.Triangulation
3328

3429

3530
.. _toolkit_mplot3d-axisapi:
@@ -51,12 +46,6 @@ mplot3d API
5146
:template: autosummary.rst
5247

5348
axis3d.Axis
54-
axis3d.XAxis
55-
axis3d.YAxis
56-
axis3d.ZAxis
57-
axis3d.get_flip_min_max
58-
axis3d.move_from_center
59-
axis3d.tick_update_position
6049

6150

6251
.. _toolkit_mplot3d-artapi:
@@ -76,6 +65,15 @@ mplot3d API
7665
art3d.PathPatch3D
7766
art3d.Poly3DCollection
7867
art3d.Text3D
68+
69+
70+
Art3D Utility Functions
71+
=======================
72+
73+
.. autosummary::
74+
:toctree: ../_as_gen
75+
:template: autosummary.rst
76+
7977
art3d.get_colors
8078
art3d.get_dir_vector
8179
art3d.get_patch_verts

lib/mpl_toolkits/axisartist/grid_helper_curvelinear.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ def __init__(self, aux_trans,
339339
(inverse transform should be defined) or a tuple of two callable
340340
objects which defines the transform and its inverse. The callables
341341
need take two arguments of array of source coordinates and
342-
should return two target coordinates.::
342+
should return two target coordinates.
343343
344-
e.g., x2, y2 = trans(x1, y1)
344+
e.g., ``x2, y2 = trans(x1, y1)``
345345
"""
346346
super(GridHelperCurveLinear, self).__init__()
347347

tutorials/toolkits/mplot3d.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The mplot3d Toolkit
44
===================
55
6-
Generating 3D plots the mplot3d toolkit.
6+
Generating 3D plots using the mplot3d toolkit.
77
88
.. currentmodule:: mpl_toolkits.mplot3d
99
@@ -19,10 +19,10 @@
1919
Create a new :class:`matplotlib.figure.Figure` and
2020
add a new axes to it of type :class:`~mpl_toolkits.mplot3d.Axes3D`::
2121
22-
import matplotlib.pyplot as plt
23-
from mpl_toolkits.mplot3d import Axes3D
24-
fig = plt.figure()
25-
ax = fig.add_subplot(111, projection='3d')
22+
import matplotlib.pyplot as plt
23+
from mpl_toolkits.mplot3d import Axes3D
24+
fig = plt.figure()
25+
ax = fig.add_subplot(111, projection='3d')
2626
2727
.. versionadded:: 1.0.0
2828
This approach is the preferred method of creating a 3D axes.

0 commit comments

Comments
 (0)
0