[IPython-dev] notebook plots via javascript

Bob McElrath bob+ipython@mcelrath....
Mon Jun 4 12:33:20 CDT 2012


It seems to me that the majority of this work should actually be in the
matplotlib SVG backend.  IPython should just throw whatever matplotlib hands it
into the notebook.  Why does mplh5canvas require a server?!?

Modifying the output of matplotlib will be fragile.

Zoltán Vörös [zvoros@gmail.com] wrote:
> Hi Bob,
> 
> On 06/04/2012 06:40 PM, Bob McElrath wrote:
> >
> >     http://keith-wood.name/svg.html
> >
> >I'd be a big fan of SVG+JS plots.
> I saw this a couple of weeks ago, and it is really cool. The only
> objection I would have is that one would still have to write a quite
> complicated wrapper around it, if one wants to retain compatibility
> with matplotlib. The greatest appeal of a matplotlib backend is that
> all older python scripts would run as usual.
--
Cheers, Bob McElrath

"The individual has always had to struggle to keep from being overwhelmed by
the tribe.  If you try it, you will be lonely often, and sometimes frightened.
But no price is too high to pay for the privilege of owning yourself." 
    -- Friedrich Nietzsche


More information about the IPython-dev mailing list