jakevdp/mpld3 — pull request #260 by boris-arzur (2014-10-29 02:13:09+00:00)
Title: demonstrate the combined use of events from d3 in javascript and interac...

Hi,

In the notebook I would like you to pull, I demonstrate the combined use of events from d3 in javascript and interact magic, to produce python generated content on interactions with a graph.

The idea is that I show a graph and two points that are draggable. If you drag one of them, you generate a change event in an associated GraphView, a widget that allows you to use the 'interact' function from IPython 2.0. The d3 visualisation is then pushed/updated by python.

So in simple terms, you have "one exponential echelon", that you try to fit through two movable handles.

Thank you for your work on mpld3, it's very nice.
Boris.