import plotly.express as px df = px.data.carshare() + fig = px.scatter_mapbox( - fig = px.scatter_map( df, lat="centroid_lat", lon="centroid_lon", color="peak_hour", size="car_hours", color_continuous_scale=px.colors.cyclical.IceFire, size_max=15, zoom=10, + mapbox_style="carto-positron", ) fig