Skip to content

Commit bcb7976

Browse files
committed
Fix typo in Axes3D.set_autoscalez_on.
(See surrounding code to confirm that the correct attribute name is indeed `_autoscaleZon`.)
1 parent eaf05e9 commit bcb7976

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def set_autoscalez_on(self, b) :
341341
.. versionadded :: 1.1.0
342342
This function was added, but not tested. Please report any bugs.
343343
"""
344-
self._autoscalez_on = b
344+
self._autoscaleZon = b
345345

346346
def set_zmargin(self, m) :
347347
"""
@@ -631,7 +631,6 @@ def set_xlim3d(self, left=None, right=None, emit=True, auto=False, **kw):
631631
return left, right
632632
set_xlim = set_xlim3d
633633

634-
635634
def set_ylim3d(self, bottom=None, top=None, emit=True, auto=False, **kw):
636635
"""
637636
Set 3D y limits.

0 commit comments

Comments
 (0)