<div dir="ltr">Hi Caroline,<div><br></div><div>Thanks for the detailed report. I was able to reproduce it over here and fix it: <a href="https://bitbucket.org/yt_analysis/yt/pull-request/730/adding-missing-profileplot-imports/diff">https://bitbucket.org/yt_analysis/yt/pull-request/730/adding-missing-profileplot-imports/diff</a></div>
<div><br></div><div>That should be merged in shortly. Once it is you'll be able to update your yt installation and get the fix.</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Mar 18, 2014 at 9:01 AM, Caroline Van Borm <span dir="ltr"><<a href="mailto:borm@astro.rug.nl" target="_blank">borm@astro.rug.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I'm just starting to use IPython notebooks, but I don't seem to be able to get profile plots to show. Projection plots and phase plots show up fine, though. This is the error I'm getting:<br>
<br>
NameError Traceback (most recent call last)<br>
<ipython-input-14-<u></u>72f7221a8772> in<module>()<br>
1 p= ProfilePlot(sphere, "Radiuspc", ["NumberDensity"], weight_field="CellMassMsun")<br>
----> 2 p.show()<br>
3<br>
<br>
/home/uni05/cborm/YT/yt-x86_<u></u>64/src/yt-hg/yt/visualization/<u></u>profile_plotter.pyc inshow(self)<br>
274 275 """<br>
--> 276 if "__IPYTHON__" in dir(__builtin__):<br>
277 api_version= get_ipython_api_version()<br>
278 if api_versionin ('0.10', '0.11'):<br>
<br>
NameError: global name '__builtin__' is not defined<br>
<br>
My yt version is ec9a5117fc08. Does anyone know what is happening here?<br>
Thanks!<br>
<br>
Cheers,<br>
Caroline<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote></div><br></div>