Open marthacryan opened 4 weeks ago
I am curious if using AnyWidget gives us more control over the version of Plotly.js we bundle, which possibly means we could use this strategy to fix https://github.com/plotly/plotly.py/issues/4827
the
FigureWidget
class has more features than theFigure
class without any major downsides (that we know of?)
One downside is that FigureWidget
does not fully support animations.
@slishak-PX Thank you for that comment! That's really helpful to know.
Another potential problem with this approach is that FigureWidget
probably isn't compatible with Dash, and because Dash runs in Jupyter, we'd need to figure out a clever solution on whether to render a FigureWidget outside Dash or a Figure for Dash.
Not insurmountable though!
the
FigureWidget
class has more features than theFigure
class without any major downsides (that we know of?) - we should consider defaulting to using the widget. One thought is that we could default to using it ifanywidget
is already installed.