I get the same error when i copy and paste the same code for this -
Here’s the error value
ValueError: Invalid properties specified for object of type plotly.graph_objs.Scatter: (‘lat’, ‘lon’)
I’m able to plot the same thing with the static scatter map, this works:
fig = dict(data=data, layout=layout) plt.iplot(fig, filename='SimpleMap')
but i get issues when I try to animate. Conceptually, how is the ‘frame’ element supposed to be constructed with ‘lat’ and ‘lon’?
fig=dict(data=data, layout=layout, frames=frames) plot(fig)
I get the error when the frame element is added to the figure and then, I attempt to plot.