Skip to content

Commit 5596329

Browse files
committed
Remove dist and make most argument to set_zlim keyword only
1 parent 54a11c0 commit 5596329

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ class Axes3D(Axes):
5757
_axis_names = ("x", "y", "z")
5858
Axes._shared_axes["z"] = cbook.Grouper()
5959

60-
dist = _api.deprecate_privatize_attribute("3.6")
6160
vvec = _api.deprecate_privatize_attribute("3.7")
6261
eye = _api.deprecate_privatize_attribute("3.7")
6362
sx = _api.deprecate_privatize_attribute("3.7")
@@ -676,9 +675,8 @@ def get_w_lims(self):
676675
return minx, maxx, miny, maxy, minz, maxz
677676

678677
# set_xlim, set_ylim are directly inherited from base Axes.
679-
@_api.make_keyword_only("3.6", "emit")
680-
def set_zlim(self, bottom=None, top=None, emit=True, auto=False,
681-
*, zmin=None, zmax=None):
678+
def set_zlim(self, bottom=None, top=None, *, emit=True, auto=False,
679+
zmin=None, zmax=None):
682680
"""
683681
Set 3D z limits.
684682

0 commit comments

Comments
 (0)