<div dir="ltr"><div><font size="4"><font>Hello all,<br></font></font></div><font size="4"><font><font>I the following code <br></font> </font><br></font><div><font size="4">from yt.mods import *<br>pf = load("RD0015/RedshiftOutput0015")<br>
p= SlicePlot(pf,2,'Density','c',(20,'kpc'))<br>p.save('sliceplot')<br><br><br clear="all"></font></div><div>it is showing an error <br><br><i><font size="4">Traceback (most recent call last):<br>
File "sliceplot_Density.py", line 3, in <module><br> p = SlicePlot(pf,2,'Density','c',(20,'kpc'))<br>NameError: name 'SlicePlot' is not defined</font></i><br><br><br></div>
<div><font>what is the reas<font>on<font>? is t<font>here files we have to import<font>.</font></font></font></font></font><br></div><div>-- <br><div dir="ltr">Reju Sam John</div>
</div></div>