[yt-users] Profile plots don't show in notebook
Nathan Goldbaum
nathan12343 at gmail.com
Tue Mar 18 10:08:06 PDT 2014
Hi Caroline,
Thanks for the detailed report. I was able to reproduce it over here and
fix it:
https://bitbucket.org/yt_analysis/yt/pull-request/730/adding-missing-profileplot-imports/diff
That should be merged in shortly. Once it is you'll be able to update your
yt installation and get the fix.
-Nathan
On Tue, Mar 18, 2014 at 9:01 AM, Caroline Van Borm <borm at astro.rug.nl>wrote:
> Hi all,
>
> 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:
>
> NameError Traceback (most recent call
> last)
> <ipython-input-14-72f7221a8772> in<module>()
> 1 p= ProfilePlot(sphere, "Radiuspc", ["NumberDensity"],
> weight_field="CellMassMsun")
> ----> 2 p.show()
> 3
>
> /home/uni05/cborm/YT/yt-x86_64/src/yt-hg/yt/visualization/profile_plotter.pyc
> inshow(self)
> 274 275 """
> --> 276 if "__IPYTHON__" in dir(__builtin__):
> 277 api_version= get_ipython_api_version()
> 278 if api_versionin ('0.10', '0.11'):
>
> NameError: global name '__builtin__' is not defined
>
> My yt version is ec9a5117fc08. Does anyone know what is happening here?
> Thanks!
>
> Cheers,
> Caroline
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140318/473d8e7a/attachment.html>
More information about the yt-users
mailing list