[IPython-dev] [EXTERNAL] Re: A fresh approach for plotting?

Matthias BUSSONNIER bussonniermatthias at gmail.com
Tue Apr 22 03:43:46 EDT 2014


Hi Tim, 

Sorry for the time to respond and not having been clear.

Le 17 avr. 2014 à 00:22, Shead, Timothy a écrit :
> Matthias:
> 
> I’m not sure whether I grok plot.ly, but it seems to require sending my data to someone else’s server, which is a complete nonstarter for me.

Actually, mpld3 and plot.ly both share an common framework which is open-source and don't require sending data to plot.ly server :

https://github.com/mpld3/mplexporter

I was suggesting getting in contact with jake and the plotly team to merge your effort on this project. 
-- 
M


> 
> Cheers,
> Tim
> 
> On Apr 16, 2014, at 3:41 PM, Paul Ivanov <pi at berkeley.edu> wrote:
> 
>> Shead, Timothy, on 2014-04-16 20:58,  wrote:
>>> 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 :)
>> 
>> matplotlib has an SVG backend, here's how you use it in the
>> notebook:
>> 
>>   %matplotlib inline 
>>   import matplotlib.pyplot as plt
>>   import numpy as np
>>   from IPython.display import set_matplotlib_formats
>>   set_matplotlib_formats('svg')
>>   x,y,z,c = np.random.randn(4, 20)
>>   plt.scatter(x,y, s=np.abs(z)*100, c=c)
>> 
>> http://nbviewer.ipython.org/gist/ivanov/10935754
>> 
>> best,
>> -- 
>>                  _
>>                 / \
>>               A*   \^   -
>>            ,./   _.`\\ / \
>>           / ,--.S    \/   \
>>          /  `"~,_     \    \
>>    __o           ?
>>  _ \<,_         /:\
>> --(_)/-(_)----.../ | \
>> --------------.......J
>> Paul Ivanov
>> http://pirsquared.org
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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/20140422/db649e42/attachment.html>


More information about the IPython-dev mailing list