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

Matthew Turk matthewturk at gmail.com
Tue May 3 13:36:25 PDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pylab_reason.png
Type: image/png
Size: 88360 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20110503/973affce/attachment.png>


More information about the yt-dev mailing list