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

Skip to content

Commit f419ba1

Browse files
committed
Remove dist and make most argument to set_zlim keyword only
1 parent cad09a8 commit f419ba1

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")
@@ -679,9 +678,8 @@ def get_w_lims(self):
679678
return minx, maxx, miny, maxy, minz, maxz
680679

681680
# set_xlim, set_ylim are directly inherited from base Axes.
682-
@_api.make_keyword_only("3.6", "emit")
683-
def set_zlim(self, bottom=None, top=None, emit=True, auto=False,
684-
*, zmin=None, zmax=None):
681+
def set_zlim(self, bottom=None, top=None, *, emit=True, auto=False,
682+
zmin=None, zmax=None):
685683
"""
686684
Set 3D z limits.
687685

0 commit comments

Comments
 (0)