[IPython-dev] IPython (new) + matplotlib report: happy news
Mon Sep 13 16:10:23 CDT 2010
On Mon, Sep 13, 2010 at 1:58 PM, Fernando Perez <firstname.lastname@example.org> 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:
> - 98 worked perfectly: the figures I got were identical to those on the website.
That is a pretty significant test of the new console....100 is a lot
of copying and pasting.
> - 1 had minor visual differences:
> in the SVG render, the masked region
> appears black instead of transparent.
> - One produced an error:
> ...: plt.draw()
> ...: plt.show()
> Received invalid plot data.
> But when I save the file and try to load it into firefox, it seems to
> indeed be bad SVG:
> XML Parsing Error: mismatched tag. Expected: </g>.
> Location: file:///home/fperez/ipython/ipython/bad.svg
> Line Number 287, Column 3:</svg>
> In summary: we can run pretty much any MPL example by straight
> copy/paste, and the only two glitches I see are in the SVG data
> itself. Once the other two buglets I reported earlier get fixed up,
> this will be a very nice way to interact with MPL.
> 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 to highlight the whole text box and
> then do Ctrl-C or menu->copy. It would be really nice to have a
> one-click 'copy to clipboard'... But I have no idea if that's easy or
> hard in HTML...
+1 to this!
> Anyway, I think we're starting to be in pretty good shape!
> IPython-dev mailing list
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
More information about the IPython-dev