-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering is broken inside Databricks with DBR 11.x and higher - potential fix included #602
Comments
Sure, we can do it. |
Great and thank you for quickly getting back @alshan ! |
That's great! The customers will really appreciate your fast fix around that! |
Hi @alshan Thank you for the reach out and the fast release. I verified that the fix worked as intended. |
Hello,
lets-plot used to work on Databricks with DBR 10.x (cluster version) and lower and we have customers who love and use it.
However, with DBR 11.x the auto-renderer breaks because it detects the wrong display type.
To fix this, customers have to explicitly do
LetsPlot.setup_html(isolated_frame=True)
becauseisolated_frame
is auto-detected to be False. IMO most likely as part of_detect_isolated_frame
.Databricks can be detected e.g. via
"databricks" in str(os.environ)
which might be added to https://github1s.com/JetBrains/lets-plot/blob/HEAD/python-package/lets_plot/frontend_context/_html_contexts.py#L68-L69 or similar.What do you think?
The text was updated successfully, but these errors were encountered: