[yt-users] zlim on python notebooks

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Wed Mar 19 10:57:01 PDT 2014


Python notebooks seems to hate set_zlim (or rather demand an unreasonable number of arguments):

p.set_zlim(1e-28, 1e-20)

TypeError                                 Traceback (most recent call last)
<ipython-input-31-664f4ddf25f0> in <module>()
----> 1 p.set_zlim(1e-28, 1e-20)

/Users/buttonmoon/yt/src/yt-hg/yt/visualization/plot_container.pyc in newfunc(*args, **kwargs)
     52     @wraps(f)
     53     def newfunc(*args, **kwargs):
---> 54         rv = f(*args, **kwargs)
     55         args[0]._plot_valid = False
     56         args[0]._setup_plots()

TypeError: set_zlim() takes at least 4 arguments (3 given)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140319/b00aeb76/attachment.htm>

More information about the yt-users mailing list