<div dir="ltr"><div>Hi Astrid,<br><br></div><div>You can turn on interactive matplotlib plotting using the "yt.toggle_interactivity()" funciton. Note that this is a new, experimental feature so it's possible there will be issues. This is not turned on by default because yt is very commonly used over a headless SSH connection to a cluster where using matplotlib's interactive backends would lead to errors.<br><br></div><div>More details about this in the docs:<br><br><a href="http://yt-project.org/doc/visualizing/plots.html#viewing-plots">http://yt-project.org/doc/visualizing/plots.html#viewing-plots</a><br><br></div><div>-Nathan<br></div><div><br></div><div>-Nathan<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 7:10 AM, Lamberts, Astrid <span dir="ltr"><<a href="mailto:lamberts@caltech.edu" target="_blank">lamberts@caltech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_2903364864158763697divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>I'm trying to have a first look at my simulations and when I follow the cookbook for plots, I don't see any plot.</p>
<p><br>
</p>
<p>I use ipython  with:</p>
<p>import yt</p>
<p>ds=yt.load(mysim)</p>
<p style="margin-top:0;margin-bottom:0">p=yt.ProjectionPlot(ds,"z","<wbr>density")</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">and no plot appears, even after a p.show(). p.save() saves the plot to a file, but I am looking for a more direct way to look at the data, and I would rather not use jupyter notebooks.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">How can I proceed?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Astrid</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="m_2903364864158763697Signature">
<div id="m_2903364864158763697divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p>Astrid Lamberts</p>
<p>Postdoctoral Researcher</p>
<p>TAPIR Group, Caltech</p>
<p><br>
</p>
</div>
</div>
</div>
</div>

<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div>