Scattermapbox is not defined when testing "Scatter Plots on Mapbox in Python"


In the basic example.
it shows Scattermapbox is not defined. Please help me on that
import plotly.plotly as py
from plotly.graph_objs import *

mapbox_access_token = ‘pk.eyJ1IjoiY2hlbHNlYXBsb3RseSIsImEiOiJjaXFqeXVzdDkwMHFrZnRtOGtlMGtwcGs4In0.SLidkdBMEap9POJGIe1eGw’

data = Data([
Scattermapbox(
lat=[‘45.5017’],
lon=[’-73.5673’],
mode=‘markers’,
marker=Marker(
size=14
),
text=[‘Montreal’],
)
])
layout = Layout(
autosize=True,
hovermode=‘closest’,
mapbox=dict(
accesstoken=mapbox_access_token,
bearing=0,
center=dict(
lat=45,
lon=-73
),
pitch=0,
zoom=5
),
)

fig = dict(data=data, layout=layout)
py.iplot(fig, filename=‘Montreal Mapbox’, validate=False)

Hi there,
This is a new feature, can you upgrade to the latest version of Plotly (pip install plotly --upgrade) and let me know if you’re still experiencing this issue.

Hi, Chelsea. I have the same problem even after I upgraded to the latest version on github. Do you have any idea what might be the problem? Thanks in advance.