You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./read_hdr.py", line 560, in
plot_sensor_locations(subdir);
File "./read_hdr.py", line 218, in plot_sensor_locations
ax.set_zlim(zlim);
File "/home/stefan/local_x86_64/Python/lib/python3.3/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 680, in set_zlim3d
if top is None and iterable(bottom):
I think line 680 must read:
if top is None and cbook.iterable(bottom):
instead of
if top is None and iterable(bottom):
bye, Stefan :)
The text was updated successfully, but these errors were encountered:
Thanks @firebirdberlin - thanks for suggesting the fix. Are you willing to give submitting a pull request a try? It would be a good experience to see how we make matplotlib code changes. If not, don't worry about it, I'm sure somebody will pick the change up at some point.
Looks like it was a bug I introduced recently when I copied and pasted code from the 2d axes. set_xlim3d(), set_ylim3d() and set_zlim3d() all have this bug. Also in set_zbound().
@firebirdberlin, thanks for catching this! Please make sure your PR is made against branch v1.2.x so that it will be fixed in both the maintenance branch and the master branch. Thanks!
WeatherGod
added a commit
to WeatherGod/matplotlib
that referenced
this issue
Dec 20, 2012
I'm getting the following error:
Traceback (most recent call last):
File "./read_hdr.py", line 560, in
plot_sensor_locations(subdir);
File "./read_hdr.py", line 218, in plot_sensor_locations
ax.set_zlim(zlim);
File "/home/stefan/local_x86_64/Python/lib/python3.3/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 680, in set_zlim3d
if top is None and iterable(bottom):
I think line 680 must read:
if top is None and cbook.iterable(bottom):
instead of
if top is None and iterable(bottom):
bye, Stefan :)
The text was updated successfully, but these errors were encountered: