Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Plotly not showing mapbox map

I tried to implement the basic example for mapbox in a jupyter notebook. The code ran without problems since i synced my mapbox access key. The problem is that juypter notebook displayed something weird. It looks like an empty chart but when I move the pointer over the chart area it shows the titles of the points. What could be wrong?

Can you share a screenshot or a screencart to help debug?

@Bearnal hat is your mapbox_token? My guess is you haven’t signed up for Mapbox to get an API token (which allows you to download their excellent tile maps for mapbox-gl). The map’s not going to show without this token.

See this example: