Getting AttributeError: module 'plotly.validators.layout.mapbox.layer' has no attribute 'CoordinatesValidator'
See original GitHub issueI am using plotly 3.1 and am getting he below error:
AttributeError: module 'plotly.validators.layout.mapbox.layer' has no attribute 'CoordinatesValidator'
I read around tried with 3.4.2 and 4.1 versions - same error here is an example code i am using:
trace = go.Bar(
x=cnt_users.year_month,
y=cnt_users.num_users,
marker=dict(
colorscale = 'Picnic',
reversescale = True
),
)
layout = go.Layout(
title='Count of Unique Users per Month',
font=dict(size=16)
)
data = [trace]
fig = go.Figure(data=data, layout=layout)
fig['layout'].update(height=500, width=1500)
py.iplot(fig, filename="TargetCount")
This was working for me 4 months ago but now i am getting an error
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (9 by maintainers)
Top Results From Across the Web
module 'plotly.validators.layout' has no attribute ...
You need to install a new package chart-studio . In your command line type and run: pip install chart-studio.
Read more >Error when running plotly on python jupyter notebook
module 'plotly.validators.layout.mapbox.layer' has no attribute 'CoordinatesValidator'. and I have only one copy of plotly ( 4.1.0) ...
Read more >No attribute 'CoordinatesValidator' - plotly.js
We are getting following exception please help me in this module 'plotly.validators.layout.mapbox.layer' has no attribute ...
Read more >AttributeError: the module 'plotly.validators.bar' does not have ...
I would like to plot eigs_vals with plotly: [2.32775157e+01 ... AttributeError: the module 'plotly.validators.bar' does not have the ...
Read more >Error when running plotly on python Jupyter
AttributeError : module 'plotly.validators.scatter.marker.colorbar' has no attribute 'TitlefontValidator'. Could you please help me with it?
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
I’ve just been able to replicate this with an open notebook after installing a different version of
plotly
while the kernel was running, and restarting the kernel resolved the issue, so this may be part of the solution for some folks.I am also getting same issue while using CX_Freeze for bundling ,otherwise it is working fine on my system. unable to trace what the issue. Do anyone have solution :
AttributeError: module ‘plotly.validators.layout.xaxis’ has no attribute ‘AnchorValidator’
AttributeError: module ‘plotly.validators.scatter’ has no attribute ‘LegendgroupValidator’