[yt-users] yt on mac 10.8, show()

Nathan Goldbaum nathan12343 at gmail.com
Thu Oct 18 11:33:38 PDT 2012


Hi Kaitlin,

Unfortunately we have yet to implement an interactive window to show() a plot from the command line.  It's something I'd like to see - if there are any enterprising yt devs with some knowledge of matplotlib out there, I think adding such a capability would be a nice mini-project.

show() will work inside of an ipython notebook, so for now you can try doing it that way.

There's a little bit of detail about the notebook in the docs: http://yt-project.org/doc/interacting/ipython_notebook.html

Cheers,

Nathan

On Oct 18, 2012, at 11:27 AM, Kaitlin Kratter wrote:

> Hi all,
> 
> Very simple question. I have yt running on a mac with 10.8, which means it uses xquartz, not x11. When I open up ipython, I can make plots as usual using matplotlib, however if I try to make a slice plot with yt (or a line plot):
> 
> $ slc = SlicePlot(pf,'z','density')
> $ slc.show()
> 
> Nothing happens.  Save works. Is there some display setting I can change?
> 
> Thanks,
> Kaitlin
> 
> 
> _______________________________________________
> 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/20121018/2d6ab909/attachment.htm>


More information about the yt-users mailing list