chaffra

Results 16 comments of chaffra

I am getting it with `%matplotlib widget` after a plot call when using the latest version 0.3.3. When I switch back to 0.2.1 it works.

This bug is still active in version 0.3. Snippet displays correctly in version 0.2.1. Can anyone reproduce?

enclosing in a `ipywidgets.Box` works as a workaround. Thanks @keatonb. I think the Canvas is missing something the other widgets have.

Can this be done from the widget object like `widget.to_json()` and then `widget.from_json()`?

> Not sure if this makes sense, but I am saving state in a json file. My business case is interactive sql query building so in that case once the...

> @chaffra there is a notebook option for it: https://ipywidgets.readthedocs.io/en/latest/embedding.html > > > The Download Widget State option triggers the downloading of a JSON file containing the serialized state of...

Thanks, `embed_data` can be used to save the state but how do I load the values back into the widget. I tried `widget.set_state(state)` unsuccessfully.

Thanks for the thourough answer. If one could choose the model_id for each widget when it's created then the first solution might work. One would just have to compare the...

Yes this would be useful. Really FigureWidget should pass most options available in `fig.show(config=config)`. One example of config dict ``` config = { 'scrollZoom': False, 'displayModeBar': True, 'editable': False, 'showLink':False,...

Thanks! Both solutions work. Maybe a deeper issue I was after is that you have to use assemblies to get colors. A simpler implementation would be like below but it's...