These are chat archives for sandialabs/toyplot

9th
Feb 2017
Timothy M. Shead
@tshead
Feb 09 2017 04:09
@fnorf - the return value from the update function you pass to interact() should be the thing you want to display. In Toyplot’s case, that’s the canvas, not the mark. So just change return mark to return canvas and it’ll work the way you expect.
Note that by default, interact() sends continuous updates from sliders, which you don’t want with plots. See https://ipywidgets.readthedocs.io/en/latest/examples/Using%20Interact.html#Disabling-continuous-updates for details.
Hannes
@fnorf
Feb 09 2017 09:17
ha, just as i expected :)
thanks!
hm, it still seems to be redrawing the whole plot