[Yt-dev] Request for Review: Pylab in reason

Cameron Hummels chummels at astro.columbia.edu
Wed May 4 12:44:08 PDT 2011


Hey Matt,

Pylab works for me in Reason, but the only issue I'm having is that the 
first plot that reason generates in the console is not aligned to the 
left of the console (I've attached an image).  All subsequent plots seem 
to be, though.  Good work!  This is some great functionality!

Cameron

On 5/3/11 4:36 PM, Matthew Turk wrote:
> Hi all,
>
> I added what I think is support for Pylab to the current tip of the yt repo.
>
> What it does is create (dynamically) a new backend that overloads the
> interactivity commands in pylab to dump out images and display them
> inline.  I had to hack around a little bit to make sure that it worked
> if you had specified a GUI engine in your matplotlibrc.
>
> All of the work is done in extdirect_repl.py, in the reason_pylab and
> deliver_image functions.
>
> Anyway, if some people could test it out, see if it works to do things like:
>
> pylab.plot( ... )
>
> and so on and so forth, that'd be great.  I've been using it and it
> works for me, and I'm pretty pumped about having general plotting
> included in Reason, so I'd like to hear if it works for others.
>
> -Matt
>
>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20110504/240ab478/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reason_im.png
Type: image/png
Size: 149083 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20110504/240ab478/attachment.png>


More information about the yt-dev mailing list