Skip to content

Commit 7c21906

Browse files
tacaswellQuLogic
andauthored
DOC: correct typos and markup
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent fbe44d5 commit 7c21906

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/users/next_whats_new/2019-03-25-mplot3d-projection.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ stretched to fit a square bounding box. As this stretching was done after
66
the projection from 3D to 2D, it resulted in distorted images if non-square
77
bounding boxes were used. As of 3.3, this no longer occurs.
88

9-
Currently modes of setting the aspect (via
10-
`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect`), in data space, are
9+
Currently, modes of setting the aspect (via
10+
`~mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect`) in data space are
1111
not supported for Axes3D but may be in the future. If you want to
1212
simulate having equal aspect in data space, set the ratio of your data
1313
limits to match the value of `~.get_box_aspect`. To control these
1414
ratios use the `~mpl_toolkits.mplot3d.axes3d.Axes3D.set_box_aspect`
15-
method which accepts th ratios as a 3-tuple of X:Y:Z. The default
15+
method which accepts the ratios as a 3-tuple of X:Y:Z. The default
1616
aspect ratio is 4:4:3.

lib/mpl_toolkits/mplot3d/axis3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def get_tightbbox(self, renderer, *, for_layout_only=False):
427427
try:
428428
loc_t = self.get_transform().transform(tick.get_loc())
429429
except AssertionError:
430-
# transforms.transform doesn't allow masked values but
430+
# Transform.transform doesn't allow masked values but
431431
# some scales might make them, so we need this try/except.
432432
pass
433433
else:

0 commit comments

Comments
 (0)