You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import holoviews, there is an error, marimo seems to be calling hv.renderer that tries to import plotly even if it is neither installed nor used.
Could not find a 'plotly' renderer, available renderers are: 'bokeh'.'
I wrote a patch that I currently use (it is working for me): mb-915@5c2e324
but I couldn't get the tests to pass and I’m not sure if adding bokeh in DependencyManager is right. Therefore, I'm not opening a PR for now.
mb-915
changed the title
holoviews tries to load plotly even if it is not installed
Using holoviews tries to load plotly even if it is not installed
Sep 3, 2024
thank you for filing @mb-915! the patch looks correct (not sure why the tests would not pass). do you want to open a PR with that patch or would you like me to? I can look at the test failure reasons, if it does end up failing.
Describe the bug
When I import
holoviews
, there is an error, marimo seems to be callinghv.renderer
that tries to importplotly
even if it is neither installed nor used.The error seem to be located here :
marimo/marimo/_output/formatters/holoviews_formatters.py
Lines 61 to 66 in e634a8d
I wrote a patch that I currently use (it is working for me):
mb-915@5c2e324
but I couldn't get the tests to pass and I’m not sure if adding
bokeh
inDependencyManager
is right. Therefore, I'm not opening a PR for now.Environment
Code to reproduce
(in an environment without
plotly
)The text was updated successfully, but these errors were encountered: