8000 Fix docs error · matplotlib/matplotlib@43f7d59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43f7d59

Browse files
Fix docs error
1 parent 1c04693 commit 43f7d59

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def set_xlim(self, left=None, right=None, *, emit=True, auto=False,
770770
view_margin=None, xmin=None, xmax=None):
771771
"""
772772
Set 3D x limits.
773-
See `.Axes.set_xlim` for full documentation
773+
See `~.Axes.set_xlim` for full documentation
774774
"""
775775
return self._set_lim3d(self.xaxis, left, right, emit=emit, auto=auto,
776776
view_margin=view_margin, axmin=xmin, axmax=xmax)
@@ -779,7 +779,7 @@ def set_ylim(self, bottom=None, top=None, *, emit=True, auto=False,
779779
view_margin=None, ymin=None, ymax=None):
780780
"""
781781
Set 3D y limits.
782-
See `.Axes.set_ylim` for full documentation
782+
See `~.Axes.set_ylim` for full documentation
783783
"""
784784
return self._set_lim3d(self.yaxis, bottom, top, emit=emit, auto=auto,
785785
view_margin=view_margin, axmin=ymin, axmax=ymax)
@@ -788,8 +788,7 @@ def set_zlim(self, bottom=None, top=None, *, emit=True, auto=False,
788788
view_margin=None, zmin=None, zmax=None):
789789
"""
790790
Set 3D z limits.
791-
792-
See `.Axes.set_ylim` for full documentation
791+
See `~.Axes.set_ylim` for full documentation
793792
"""
794793
return self._set_lim3d(self.zaxis, bottom, top, emit=emit, auto=auto,
795794
view_margin=view_margin, axmin=zmin, axmax=zmax)
@@ -2989,10 +2988,10 @@ def errorbar(self, x, y, z, zerr=None, yerr=None, xerr=None, fmt='',
29892988
lower limits. In that case a caret symbol is used to indicate
29902989
this. *lims*-arguments may be scalars, or array-likes of the same
29912990
length as the errors. To use limits with inverted axes,
2992-
`~.Axes.set_xlim` or `~.Axes.set_ylim` must be called before
2993-
`errorbar`. Note the tricky parameter names: setting e.g.
2994-
*ylolims* to True means that the y-value is a *lower* limit of the
2995-
True value, so, only an *upward*-pointing arrow will be drawn!
2991+
`~.Axes.set_xlim`, `~.Axes.set_ylim`, or `~.Axes.set_ylim` must be
2992+
called before `errorbar`. Note the tricky parameter names: setting
2993+
e.g. *ylolims* to True means that the y-value is a *lower* limit of
2994+
the True value, so, only an *upward*-pointing arrow will be drawn!
29962995
29972996
xuplims, yuplims, zuplims : bool, default: False
29982997
Same as above, but for controlling the upper limits.

0 commit comments

Comments
 (0)
0