[yt-users] zlim on python notebooks
Elizabeth Tasker
tasker at astro1.sci.hokudai.ac.jp
Wed Mar 19 11:00:59 PDT 2014
Hi Jeff and Matt,
yep, that fixed it — thanks!
Elizabeth
On Mar 19, 2014, at 1:58 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> Hi Elizabeth,
>
> I think it just needs you to tell it which field to set the zlim on?
>
> -Matt
>
> On Wed, Mar 19, 2014 at 1:57 PM, Elizabeth Tasker
> <tasker at astro1.sci.hokudai.ac.jp> wrote:
>> Hi,
>>
>> 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)
>>
>>
>>
>> Elizabeth
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
More information about the yt-users
mailing list