[IPython-User] Fwd: adding control to notebook
Zoltán Vörös
zvoros@gmail....
Mon Apr 30 01:56:17 CDT 2012
Hi Fernando,
Thanks for the comments, even if they are a bit discouraging:) I see the
problem with the second server, and initially I was thinking of a
javascript backend similar to that of gnuplot's: the data are stored in
a file, there is no need to run a separate server:
http://gnuplot.sourceforge.net/demo_canvas_4.6/
In the light of your objections, I wonder whether it would be easier to
get away with adding some interactivity to the SVG backend. I am not
sure whether zooming/panning could be achieved, but simple mouse-over
effects, like reading off coordinates and so on can relatively easily be
implemented. I will look into that, if you think that is useful.
Cheers,
Zoltán
On 04/30/2012 01:46 AM, Fernando Perez wrote:
> On Fri, Apr 27, 2012 at 12:15 AM, Zoltán Vörös<zvoros@gmail.com> wrote:
>> There is already a backend, http://code.google.com/p/mplh5canvas/ . I have
>> tried some of their examples, and they worked fine. Now, could we make
>> ipython aware of the html5 backend, get the code, and insert it in place?
>> That would just be awesome!
> We've looked quite a bit at that, including with John Hunter and
> Michael Droetboom (core mpl developers), and it doesn't look like it's
> usable as-is. The main reason is that was designed as a standalone
> web application, with its own webserver and all. This means it fits
> into our architecture about as well as a second head attached to an
> elbow.
>
> This is not to say that *ideas* from mplh5 won't be useful, but from
> what we saw, it's not a quick reuse, unfortunately.
>
> Cheers,
>
> f
More information about the IPython-User
mailing list