Graph Objs has no attribute FigureWidget
See original GitHub issueimport plotly.graph_objs as ago
figure_widget = getattr(go, "FigureWidget")
E AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget'
This is what I obtain after running tests on a Gitlab CI server. Even though the tests run just fine locally. Plotly versions are 3.5.0 both locally and on the server.
I tried importing plotly on an interactive ipython shell (no notebook) and the module does have FigureWidget.
Can’t provide a reproducible example for gitlab CI server, so any clues on this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Getting plotly.graph_objs attribute error for FigureWidget
I get the following error in Jupyter Notebook: AttributeError: module 'plotly.graph_objs' has no attribute ...
Read more >module 'plotly.graph_objs' has no attribute 'FigureWidget' after ...
I upgraded to Plotly 4.7 as recommended by the Dash 1.12.0 release post, but after doing so I get the error message: AttributeError:...
Read more >module 'plotly.graph_objs' has no attribute 'FigureWidget ...
AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget'. I'm running a dash app on python 3.8. I have fully up to date ...
Read more >python-plotly-4.7.1-bp152.1.1 - SUSE Package Hub -
- update to version 4.7.1: * Fixed + Fix AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget' exception on from plotly.graph_objs import * ...
Read more >Plotly - FigureWidget Class - Tutorialspoint
A scatter plot is displayed. Click on a location in the area which will be markd with red colour. Location. Plotly's FigureWidget object...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @pedroallenrevez ,
Can you doublecheck that you have
ipywidgets
installed in your CI environment?FigureWidget
won’t be available otherwise.Hi @ned2 , thanks for the suggestion. We have discussed this a bit in https://github.com/plotly/plotly.py/issues/1111. I’m going to close this issue in favor of that one. Feel free to chime in over there if you have more thoughts on the current situation.