-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Figure factory broken in release 4.7.0 #2443
Comments
Thanks for the report @cliffckerr, and thanks for pointing out the workaround of installing The underlying issue here is with the For performance reasons, we don't want to attempt to import |
we could also fix this by changing the imports in |
Is this a same sort of issue?
|
Proposed fix in #2445. @emmanuelle would you have time to take a look? |
Closed by #2445 |
@cliffckerr this is now released as part of 4.7.1! |
Super, thanks @nicolaskruchten ! |
this error still occur on plotly 5.5.0, the only way to use it is import like this:
windows 10 |
@leo-smi this is intentional, yes. |
Describe the bug
Related to #1111,
import plotly.figure_factory
fails with the most recent Plotly release (4.7) without a helpful error message.To reproduce
First noticed with
(which worked until this morning's release), but also reproducible via:
Expected behavior
It works, or at least gives a helpful error message.
Actual behavior
Workaround
Manually install
ipywidgets
(e.g.,pip install ipywidgets plotly_express
works).Suggested solution
Add
ipywidgets
back to theplotly_express
requirements, and make anipywidgets
error message similar to the one that exists if you try to usefigure_factory
without havingnumpy
installed.Platform:
The text was updated successfully, but these errors were encountered: