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

Skip to content

Commit 10d5d6e

Browse files
committed
Closes issue #1593 - namespace error
1 parent 6a12658 commit 10d5d6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ def set_xlim3d(self, left=None, right=None, emit=True, auto=False, **kw):
568568
if kw:
569569
raise ValueError("unrecognized kwargs: %s" % kw.keys())
570570

571-
if right is None and iterable(left):
571+
if right is None and cbook.iterable(left):
572572
left, right = left
573573

574574
self._process_unit_info(xdata=(left, right))
@@ -623,7 +623,7 @@ def set_ylim3d(self, bottom=None, top=None, emit=True, auto=False, **kw):
623623
if kw:
624624
raise ValueError("unrecognized kwargs: %s" % kw.keys())
625625

626-
if top is None and iterable(bottom):
626+
if top is None and cbook.iterable(bottom):
627627
bottom, top = bottom
628628

629629
self._process_unit_info(ydata=(bottom, top))
@@ -677,7 +677,7 @@ def set_zlim3d(self, bottom=None, top=None, emit=True, auto=False, **kw):
677677
if kw:
678678
raise ValueError("unrecognized kwargs: %s" % kw.keys())
679679

680-
if top is None and iterable(bottom):
680+
if top is None and cbook.iterable(bottom):
681681
bottom, top = bottom
682682

683683
self._process_unit_info(zdata=(bottom, top))
@@ -1425,7 +1425,7 @@ def set_zbound(self, lower=None, upper=None):
14251425
.. versionadded :: 1.1.0
14261426
This function was added, but not tested. Please report any bugs.
14271427
"""
1428-
if upper is None and iterable(lower):
1428+
if upper is None and cbook.iterable(lower):
14291429
lower,upper = lower
14301430

14311431
old_lower,old_upper = self.get_zbound()

0 commit comments

Comments
 (0)