That's very cool.<div><br></div><div>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.</div>

<div><br></div><div>-MinRK<br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 13:36, Fernando Perez <span dir="ltr"><<a href="http://fperez.net">fperez.net</a>@<a href="http://gmail.com">gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Sep 14, 2010 at 8:21 AM, John Hunter <<a href="mailto:jdh2358@gmail.com">jdh2358@gmail.com</a>> wrote:<br>


><br>
</div><div class="im">> How about this as an alternative: on my box, I can drag the "source<br>
> code" link from the browser into my terminal, which by default pastes<br>
> the URL of the referenced *.py into the terminal.  If "run" supported<br>
> a -w (web) option, or automatically detected that the URL starts with<br>
> http, it could do a web run of the file.  Of course, you may want the<br>
> source code pasted in for illustrative purposes... To support this,<br>
> you could add a -u (url) option to "paste" which assumes the input is<br>
> a url, fetches it, and pastes the contents into ipython.  So you could<br>
> type "paste -u" and then drag the link into the terminal, and it would<br>
> fetch it and paste the code into an input block.<br>
<br>
</div>Ask and ye shall receive (yes, the url was drag-dropped from the<br>
'source code' link in the mpl page), welcome %loadpy:<br>
<br>
<a href="http://fperez.org/tmp/iqlab_mpl_loadpy.png" target="_blank">http://fperez.org/tmp/iqlab_mpl_loadpy.png</a><br>
<br>
Full credits go to Brian and Evan!<br>
<br>
Cheers,<br>
<div><div></div><div class="h5"><br>
f<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br></div>