✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Error code 525 - Saving IMG - mapbox_style="open-street-map"

Hi everyone!

I’m trying to save a figure as follows:

import pandas as pd
us_cities = pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/us-cities-top-1k.csv")

import plotly
import plotly.express as px

fig = px.scatter_mapbox(us_cities, lat="lat", lon="lon", hover_name="City", hover_data=["State", "Population"],
                        color_discrete_sequence=["fuchsia"], zoom=3, height=300)


However, I’ve got the following error:

ValueError: Transform failed with error code 525: Mapbox error.

It only occurs when I set the mapbox_style param as open-street-map. The other options work just fine.