-
Notifications
You must be signed in to change notification settings - Fork 676
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
ImportError: cannot import name 'FigureWidget' #130
Comments
Hi @mmrahn - from plotly.graph_objs import FigureWidget ? |
No, I'm not using Jupyter. I'm running it from PyCharm (sometimes in an ipython console, sometimes with the regular python interpreter). No, I can't:
|
Okay, after a bit of digging, it turns out that Maybe add it to the requirements in |
Same goes for |
feel free to make a pull request |
Thank you @timkpaine |
@santosjorge I think this does not resolve the error because conda create -n test python=3.6
raises
|
thats a transitive dependency through plotly |
meaning plotly should enforce it |
@timkpaine Yes, but it doesn't seem to do it. Sorry, I can't help you more because I'm not a python expert, but the example I posted would work if plotly indeed enforced it, wouldn't it? |
Yep, you should raise this issue with plotly directly |
Looks like this could be an issue up there in Plotly: plotly/plotly.py#1111 What's strange is that I can skip cufflinks altogether and craft a Plotly graph from a Pandas DataFrame, so I just don't understand why cufflinks even needs ipywidgets to operate. Can you catch and then just skip it otherwise? Anyone used Google Colaboratory and got this working in some way? |
Could, but there are reasons to not do that, namely the JavaScript paths are different between iplot and figurewidgrt. You should raise the issue with plotly |
In colab I have the same issue! |
@mahmutkocak With need for graphing in colab, I just switched to Altair. Mostly does the trick. |
If you installed |
I just cloned the new cufflinks version 0.14.0 which is supposed to be compatible with plotly.
When trying to import cufflinks, I get the following error:
My plotly version is 3.1.1.
The text was updated successfully, but these errors were encountered: