[yt-users] Profile plots don't show in notebook

Caroline Van Borm borm at astro.rug.nl
Tue Mar 18 09:01:59 PDT 2014


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



More information about the yt-users mailing list