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

2010-09-16 Thread Fernando Perez
On Tue, Sep 14, 2010 at 8:21 AM, John Hunter jdh2...@gmail.com 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,

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

2010-09-16 Thread MinRK
That's very cool. Unrelated to %loadpy, but is anyone else bothered/confused by the fact that the both the plot in the website and the plot embedded in the app are wrong? There are lines that should be blue (they don't intersect the bbox) in both that are red. I presume this is a bug in either

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 fperez@gmail.comwrote: 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

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 elliso...@gmail.com 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

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 I

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 gokhanse...@gmail.com 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

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 aarch...@physics.mcgill.ca wrote: On 14 September 2010 11:08, Gökhan Sever gokhanse...@gmail.com 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

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 aarch...@physics.mcgill.cawrote: On 14 September 2010 11:08, Gökhan Sever gokhanse...@gmail.com 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

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 fperez@gmail.comwrote: 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

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 gokhanse...@gmail.com 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

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 fperez@gmail.comwrote: On Tue, Sep 14, 2010 at 11:48 AM, Anne Archibald aarch...@physics.mcgill.ca wrote: On 14 September 2010 11:08, Gökhan Sever gokhanse...@gmail.com wrote: 1-) When one downloads a script from the matplotlib gallery

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 fperez@gmail.comwrote: On Tue, Sep 14, 2010 at 12:57 PM, Benjamin Root ben.r...@ou.edu 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

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 ben.r...@ou.edu 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

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 fperez@gmail.comwrote: On Tue, Sep 14, 2010 at 6:01 PM, Benjamin Root ben.r...@ou.edu 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

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 ben.r...@ou.edu 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

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

2010-09-13 Thread Brian Granger
Fernando, On Mon, Sep 13, 2010 at 1:58 PM, Fernando Perez fperez@gmail.com 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

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

2010-09-13 Thread Fernando Perez
On Mon, Sep 13, 2010 at 2:22 PM, Gökhan Sever gokhanse...@gmail.com wrote: Either in Firefox or Chrome you could use extensions [Auto Copy] to copy text selections into clipboard. Thanks, that's good to know. But I'm mostly thinking of teaching situations, so it would be nice to have this in