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

MinRK benjaminrk at gmail.com
Thu Sep 16 16:56:29 EDT 2010


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 the intersect calculation,
or the plot command in the example code.

-MinRK

On Thu, Sep 16, 2010 at 13:36, Fernando Perez <fperez.net at gmail.com> wrote:

> On Tue, Sep 14, 2010 at 8:21 AM, John Hunter <jdh2358 at 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, or automatically detected that the URL starts with
> > http, it could do a web run of the file.  Of course, you may want the
> > source code pasted in for illustrative purposes... To support this,
> > you could add a -u (url) option to "paste" which assumes the input is
> > a url, fetches it, and pastes the contents into ipython.  So you could
> > type "paste -u" and then drag the link into the terminal, and it would
> > fetch it and paste the code into an input block.
>
> Ask and ye shall receive (yes, the url was drag-dropped from the
> 'source code' link in the mpl page), welcome %loadpy:
>
> http://fperez.org/tmp/iqlab_mpl_loadpy.png
>
> Full credits go to Brian and Evan!
>
> Cheers,
>
> f
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20100916/2a1d9a21/attachment.html>


More information about the IPython-dev mailing list