[IPython-dev] datavis with ipython notebook
Fri Jan 27 16:07:38 CST 2012
On Friday, January 27, 2012 01:35:04 pm Bartosz Telenczuk wrote:
> I completely agree, it would be really nice to enable user interaction with the plots in notebooks. If I am not mistaken, Sage has also a similar feature.
SVG supports links on elements by putting them inside an anchor element with an xlink:href attribute.
Firefox supports this (left click to open link in current tab, middle click to open link in new tab, right
click context menu not supported). I haven't tested in Chrome, but it is supported in old versions of webkit.
So, a baroque feedback strategy would be to make localhost GET requests via these links to communicate
Not sure if the links should point at the tornado instance running the notebook or at a separate server instance
(which seems cleaner, but also seems prone to threading issues).
Haven't actually tried this yet, but I've been playing quite a bit with xlink:href and xlink:title in SVG to mark
up NetworkX outputs.
> I attach my sample notebook for testting (when you click on one of text(!) labels: 'rabbit' or 'frog' some bars should disappear)
> On 27.01.2012, at 18:34, Brian Granger wrote:
> > We would definitely like to support this but there are some technical
> > will have to work out before this is possible.
> > On Thu, Jan 26, 2012 at 11:09 PM, Chen-Shan Chin <firstname.lastname@example.org> wrote:
> >> --Jason Chin
> >> _______________________________________________
> >> IPython-dev mailing list
> >> IPythonemail@example.com
> >> http://mail.scipy.org/mailman/listinfo/ipython-dev
> Bartosz Telenczuk
> Institute for Theoretical Biology
> Humboldt University of Berlin, Germany
> Phone: +4930/2093-8838
> Homepage: http://neuroscience.telenczuk.pl
> IPython-dev mailing list
More information about the IPython-dev