|
From: Alejandro W. <ale...@gm...> - 2013-01-01 22:59:27
|
Hi: When I run the simple_3danim.py example (http://matplotlib.org/examples/animation/simple_3danim.html) I get the following error: File "simple_3danim.py", line 47, in <module> ax.set_xlim3d([0.0, 1.0]) File "/usr/local/lib/python2.7/dist-packages/matplotlib-1.3.x-py2.7-linux-x86_64.egg/mpl_toolkits/mplot3d/axes3d.py", line 571, in set_xlim3d if right is None and iterable(left): NameError: global name 'iterable' is not defined I can fix this by replacing `ax.set_xlim3d([0.0, 1.0])` by `ax.set_xlim3d(0.0, 1.0)` (and similarly for the `ax.set_ylim3d` and `ax.set_zlim3d`). I'm running mpl ver. 1.3. If this is a bug, I can send a PR. Alejandro. |