Closed
Description
I 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
Metadata
Metadata
Assignees
Labels
No labels