It would be great to support something like the link and directional_link functions of traitlets (http://traitlets.readthedocs.io/en/stable/utils.html) between combinations of ipyplotly Figure properties and ipywidgets.
For example, something like the following could be used to create a two-way link between a FloatRangeSlider and the range extents of a Figure's xaxis
x_slider = FloatRangeSlider(value=[0, 1])
link((x_slider, 'value'), (fig, 'layout', 'xaxis', 'range'))
Or the marker.color properties of two scatter traces could be linked together to keep the colors in sync
link((fig1, 'data[0]', 'marker', 'color'), fig2, 'data[0]', 'marker', 'color')
It would be great to support something like the
linkanddirectional_linkfunctions of traitlets (http://traitlets.readthedocs.io/en/stable/utils.html) between combinations of ipyplotlyFigureproperties and ipywidgets.For example, something like the following could be used to create a two-way link between a
FloatRangeSliderand therangeextents of aFigure'sxaxisOr the
marker.colorproperties of two scatter traces could be linked together to keep the colors in sync