[IPython-dev] notebook plots via javascript

Zoltán Vörös zvoros at gmail.com
Mon Jun 4 13:35:18 EDT 2012


Hi Bob,
> It seems to me that the majority of this work should actually be in the
> matplotlib SVG backend.
This could be the case. I would be OK with that.

> IPython should just throw whatever matplotlib hands it
> into the notebook.  Why does mplh5canvas require a server?!?
Because that is how resizing, zooming, coordinate reporting and so on is 
done. As John Hunter pointed out earlier, by the time matplotlib reaches 
the backend, there is no notion of the data objects, there are only 
lines and letters, nothing more. Based on that, it would be hard to know 
how to zoom, e.g.
Cheers,
Zoltán




More information about the IPython-dev mailing list