[yt-users] Off Axis Plot

Chen Jingjing chenjj235 at gmail.com
Wed Jul 1 14:20:06 PDT 2015


Hi yt users,
I am trying to make multiple off-axis projection plots in the same figure,
and I follow the example of
http://yt-project.org/doc/cookbook/complex_plots.html#multi-plot-slice-and-projections

The example has these two lines:
slc = yt.SlicePlots(...)
slc_frb = slc.data_source.to_frb(...)

So I did:
proj = yt.OffAxisProjectionPlot(...)
proj_frb = proj.data_source.to_frb(...)

But I got this error:

AttributeError: 'OffAxisProjectionDummyDataSource' object has no attribute
'to_frb'


Can anyone tell me why and how to fix it?

Thanks,
Jingjing

-- 

Jingjing Chen [ chenjj235 at gmail.com ]
Department of Astronomy
Columbia University
550 West 120th Street
New York, New York 10027
Cell Phone: +1(347)5746709
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150701/a5cf2f84/attachment.htm>


More information about the yt-users mailing list