Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

How do I hide the mapbox map without losing other layers

I am showing a chloroplethmapbox with areas and a scattermapbox with names of those areas. It works fine but there are also names showing for the underlying map. I want to hide these and tried setting the layout mapbox style to “white-bg” but then my own text no longer shows.

How can I remove the underlying map display but keep my own layers.

This is my code:

choros = []
colorscales = [([(0, c), (1, c)]) for c in px.colors.qualitative.Set3]
names = ["non-user", "user"]
for i, cat in enumerate(df.registr.unique()):
    dfp = df[df.registr == cat]
    choro = go.Choroplethmapbox(z=[i,] *len(dfp),
                                 locations=dfp["area"],
                                 geojson=geojson,                         
                                 featureidkey='properties.area',
                                 hoverinfo="none",
                                 colorscale=colorscales[i],
                                 showscale=False,
                                 showlegend=True,
                                 name=names[cat],
                                 )
    choros.append(choro)
    
scatt = go.Scattermapbox(
            lon = df.geometry.centroid.x,
            lat = df.geometry.centroid.y,
            text = df["area"],
            mode = 'text',
            below="",
            hoverinfo="none",
            showlegend=False
            )

layout = go.Layout(title_text ='Registr usage', title_x =0.5,
                   mapbox = dict(center= {"lat": 53.38, "lon": 1.47},            
                                 accesstoken= token,
                                 zoom=6, 
                                 #style="white-bg"
                               ))

fig=go.Figure(data=choros+[scatt], layout=layout)
fig.show()