S
Solara8mo ago
Sander

Solara on databricks

Hi all, I would like to use Solara on Azure Databricks. I have run several examples and I can get some to work using the workarounds found on the github, but I am getting quite inconsistent results. Sometimes I get the error 'Error displaying widget: Cannot read properties of undefined (reading 'buffer')'. Also running this example code: import plotly.express as px import solara df = px.data.iris() @solara.component def Page(): fig = px.scatter(df, "sepal_length", "sepal_width") solara.FigurePlotly(fig) Page.widget() returns an empty plot on Databricks, but gives the correct results when run locally. Are these known issues and are there other workarounds to get Solara working properly on Databricks?
2 Replies
MaartenBreddels
MaartenBreddels8mo ago
If you look through GitHub you see some other people had issues with solara as well. Someone at databricks (I know his personally) told that person to use the databricks helpdesk, so the issue will land on his desk. So I recommend that procedure, but please let us know on how that goes. We are also happy to get involved if needed and or possible.
Sander
SanderOP8mo ago
Thank you for the swift response! I will have a look at the Databricks support.
Want results from more Discord servers?
Add your server