[yt-users] set_zlim( ) is giving error

Reju Sam John rejusamjohn at gmail.com
Mon Mar 10 12:19:55 PDT 2014

Dear all,
I am using the following code to create a slice plot of Temperature with a
fixed temperature scale (1e4,5e7).
pf = load(fn)
pc = PlotCollection(pf)
p=pc.add_slice("Temperature", 2).set_log_field(False)

but I am getting following error

AttributeError: 'NoneType' object has no attribute 'set_zlim'

Please suggest me solution.
Thank You,

Reju Sam John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140311/013a6af0/attachment.htm>

More information about the yt-users mailing list