Re: [matplotlib-devel] For review and merging: new GUi support for Qt4 and Wx

2010-09-14 Thread Eric Firing
On 09/13/2010 08:54 AM, Brian Granger wrote: > Eric, > > Sorry about the delay, I was on vacation last week...comments inline below... > > On Tue, Sep 7, 2010 at 2:26 PM, Eric Firing wrote: >> On 09/07/2010 11:07 AM, Fernando Perez wrote: >>> Hi Eric, >>> >>> On Tue, Sep 7, 2010 at 1:31 PM, Eric F

Re: [matplotlib-devel] For review and merging: new GUi support for Qt4 and Wx

2010-09-14 Thread Eric Firing
On 09/13/2010 05:46 PM, Brian Granger wrote: > On Tue, Sep 7, 2010 at 1:31 PM, Eric Firing wrote: >> On 09/03/2010 12:37 PM, Brian Granger wrote: >>> Hello all, >>> >>> I would like to submit the following branch on github for review and >>> merging into matplotlib trunk: >>> >>> http://github.com

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Gökhan Sever
On Mon, Sep 13, 2010 at 6:44 PM, Fernando Perez wrote: > Thanks, that's good to know. But I'm mostly thinking of teaching > situations, so it would be nice to have this in the source: it's not > for my use but for the benefit of students who may be in a lab where > they can't install extensions.

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread John Hunter
On Mon, Sep 13, 2010 at 4:10 PM, Brian Granger wrote: >> One small request: is it possible/easy to add to the MPL examples a >> little 'copy to clipboard' button or link?  Now that one can >> copy/paste wholesale examples into an interactive session to explore >> them, it feels annoying to have t

Re: [matplotlib-devel] For review and merging: new GUi support for Qt4 and Wx

2010-09-14 Thread Brian Granger
On Tue, Sep 14, 2010 at 12:59 AM, Eric Firing wrote: > On 09/13/2010 05:46 PM, Brian Granger wrote: >> >> On Tue, Sep 7, 2010 at 1:31 PM, Eric Firing  wrote: >>> >>> On 09/03/2010 12:37 PM, Brian Granger wrote: Hello all, I would like to submit the following branch on github fo

Re: [matplotlib-devel] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Michael Droettboom
On 09/13/2010 04:58 PM, Fernando Perez wrote: > Hi folks, > > [ sorry for the cross-post, but devs on both lists will care about this] > > I just went through the exercise of pasting 100 randomly chosen > examples from the gallery into the new ipython console with inline > graphics. Report: > > -

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread David Warde-Farley
On 2010-09-13, at 7:44 PM, Fernando Perez wrote: > Thanks, that's good to know. But I'm mostly thinking of teaching > situations, so it would be nice to have this in the source: it's not > for my use but for the benefit of students who may be in a lab where > they can't install extensions. But

Re: [matplotlib-devel] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 8:59 AM, Michael Droettboom wrote: > > This is now fixed in r8699. >> - One produced an error: >> http://matplotlib.sourceforge.net/examples/axes_grid/simple_axisline4.html >> >> ... >>     ...: plt.draw() >>     ...: plt.show() >>     ...: >> Received invalid plot data. >>

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Mon, Sep 13, 2010 at 7:08 PM, David Warde-Farley wrote: > > Nice work IPython people! I haven't been following too closely but this looks > exciting. Thanks, David. Hopefully by next week we'll complete our stabilization so that we're willing to foist this on the ipython-dev and mpl-dev deni

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
Hey, On Tue, Sep 14, 2010 at 8:21 AM, John Hunter wrote: > > How about this as an alternative: on my box, I can drag the "source > code" link from the browser into my terminal, which by default pastes > the URL of the referenced *.py into the terminal.  If "run" supported > a -w (web) option, or

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Anne Archibald
On 14 September 2010 11:08, Gökhan Sever wrote: > 1-) When one downloads a script from the matplotlib gallery via an external > script (name it load_into_ipython or open_with_ipython) the contents of that > gallery script (or any python script) can be executed locally inside an > ipython session.

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 11:48 AM, Anne Archibald wrote: > On 14 September 2010 11:08, Gökhan Sever wrote: > >> 1-) When one downloads a script from the matplotlib gallery via an external >> script (name it load_into_ipython or open_with_ipython) the contents of that >> gallery script (or any pyth

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Gökhan Sever
On Tue, Sep 14, 2010 at 1:48 PM, Anne Archibald wrote: > On 14 September 2010 11:08, Gökhan Sever wrote: > > > 1-) When one downloads a script from the matplotlib gallery via an > external > > script (name it load_into_ipython or open_with_ipython) the contents of > that > > gallery script (or an

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Gökhan Sever
On Tue, Sep 14, 2010 at 1:58 PM, Fernando Perez wrote: > >> 2-) Matplotlib gallery might turn to an interactive environment where > you > >> can execute the script from right within your browser and change > parameters > >> in the same browser window. As far as I know mpl figures can now be > draw

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 12:38 PM, Gökhan Sever wrote: > > Sage provides some level of interaction actually without any deployment made > on local side. Try for instance the following example on sagenb.org > from scipy import stats > import numpy as np > import matplotlib.pyplot as plt > @interact

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Benjamin Root
On Tue, Sep 14, 2010 at 1:58 PM, Fernando Perez wrote: > On Tue, Sep 14, 2010 at 11:48 AM, Anne Archibald > wrote: > > On 14 September 2010 11:08, Gökhan Sever wrote: > > > >> 1-) When one downloads a script from the matplotlib gallery via an > external > >> script (name it load_into_ipython or

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 12:57 PM, Benjamin Root wrote: > > Why not have an examples module that contains function calls to each > example?  On the website, we can show the source code, but also say that one > could just do: > import matplotlib.examples as ex ex.bars3d_demo() The idea is

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Benjamin Root
On Wed, Sep 15, 2010 at 12:39 AM, Fernando Perez wrote: > On Tue, Sep 14, 2010 at 12:57 PM, Benjamin Root wrote: > > > > Why not have an examples module that contains function calls to each > > example? On the website, we can show the source code, but also say that > one > > could just do: > > >

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 6:01 PM, Benjamin Root wrote: > True... but, consider this.  ipython can already display the code for a > particular module/function using the '??' idiom.  Why not have some way to > take that text and bring it into the input buffer? Yes, but that's a separate issue. The

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Benjamin Root
On Wed, Sep 15, 2010 at 1:08 AM, Fernando Perez wrote: > On Tue, Sep 14, 2010 at 6:01 PM, Benjamin Root wrote: > > True... but, consider this. ipython can already display the code for a > > particular module/function using the '??' idiom. Why not have some way > to > > take that text and bring

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Benjamin Root
On Wed, Sep 15, 2010 at 1:10 AM, Robert Kern wrote: > On 9/14/10 8:01 PM, Benjamin Root wrote: > > On Wed, Sep 15, 2010 at 12:39 AM, Fernando Perez > @gmail.com > wrote: > > > > On Tue, Sep 14, 2010 at 12:57 PM, Benjamin Root >

Re: [matplotlib-devel] [IPython-dev] IPython (new) + matplotlib report: happy news

2010-09-14 Thread Fernando Perez
On Tue, Sep 14, 2010 at 6:29 PM, Benjamin Root wrote: > Good point.  I guess I am just a little *too* terminal-oriented. It's probably worth mentioning that we've gone to great lengths to try to produce in the new console an experience that's as seamless and fluid as possible to anyone who 'lives