- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2022 02:14 PM
Hello,
I'm trying to use plotly's FigureWidget but getting this error:
"Error displaying widget: Cannot read properties of undefined (reading 'buffer')"
This is the code
from plotly import graph_objects as go
from plotly import express as px
from plotly import data as pld
df = pld.iris()
fig = px.bar(df, x='sepal_length', y='sepal_width')
fig_widget = go.FigureWidget(fig)
display(fig_widget)
DBR 11.2
Thank you,
Cosimo.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2022 06:37 AM
Thank you for the suggestion! 10.4 does not seem to support ipywidgets but I tried with 11.0 and it works!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2022 08:43 AM
Could you please confirm if you have gone through the requirements here: https://docs.databricks.com/notebooks/ipywidgets.html#requirements
We haven't got any such requests for the same, I can check on the compatibility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2022 09:58 AM
Thank you Debayan,
I believe I have. Thank you for checking on the support. Also would be helpful to confirm if you can replicate the error.
Best,
Cosimo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2022 06:37 AM
Thank you for the suggestion! 10.4 does not seem to support ipywidgets but I tried with 11.0 and it works!

