[IPython-dev] [EXTERNAL] Re: A fresh approach for plotting?
Shead, Timothy
tshead at sandia.gov
Wed Apr 16 16:58:51 EDT 2014
Matthias:
I will definitely check these out. I’m also going to ping the matplotlib folks to see if they’ve considered an SVG backend. If they did, I probably wouldn’t fight it :)
Cheers,
Tim
On Apr 16, 2014, at 2:52 PM, Matthias BUSSONNIER <bussonniermatthias at gmail.com> wrote:
> Hi Tim !
>
> This is really nice.
>
> Have you seen mpld3 from Jake Van der Plas, and spoke with the people from plot.ly ?
> They might be interested in sharing somme common codebase.
>
> We are also working on having persistent data for widget in future release of IPython,
> your use case will be interesting for us !
>
> --
> Matthias
>
>
> Le 16 avr. 2014 à 16:22, Shead, Timothy a écrit :
>
>> Gang:
>>
>> I am very new to IPython, but it’s had a profound impact on how I do my work, in a very short time. Lately, I’ve been generating lots of animated plots using Matplotlib, and JSAnimation to embed them in my notebooks. This works great, but the way JSAnimation does it (it embeds each frame of the matplotlib animation as a base64-encoded image into the HTML) leads to excessively large notebooks - my animations typically weigh in around 40MB with this approach. BTW, this is not a dig at Jake Vanderplas, who wrote JSAnimation - when I realized how he had integrated it into the IPython rich display, I was blown away by the possibilities :-)
>>
>> So anyway, I’ve started working on a toy plotting library that generates SVG plots with animation, and integrates well with notebooks. You can see and play-back a live demo at http://nbviewer.ipython.org/gist/anonymous/b7a626c3f6cac6d2be3b
>>
>> Even though it’s in the very early stages, I think that letting-go of bitmaps and targeting browser + SVG as the primary backend is an interesting new direction for a plotting library. The results are lightweight, gorgeous on a retina display, and introduce new possibilities for interaction. I’ll admit, it’s also a guilty pleasure to design my own API and get rid of the Matplotlib cruft ;-) I’d be curious to get some opinions on whether this idea could have traction. Is anyone else taking this approach?
>>
>> Many thanks,
>> Tim
>>
>> Timothy M. Shead
>> Sandia National Laboratories
>> 1461, Scalable Analysis and Visualization
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
Timothy M. Shead
Sandia National Laboratories
1461, Scalable Analysis and Visualization
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3216 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140416/e14cd4f9/attachment.bin>
More information about the IPython-dev
mailing list