Scatter_mapbox not allowing zoom with either scroll wheel or buttons in VsCode notebook

Not sure when this stopped working but I’ve been having this problem already since a few weeks.
Whenever I produce a plot with scatter_mapbox (normal geoscatter is working fine) I cannot zoom into the plot with the scroll wheel, nor using the zoom buttons.
I’m using the following code into a jupyter notebook running in Visual Studio Code

fig = px.scatter_mapbox(df,
                        lat='latitude',
                        lon='longitude',
                        color='Altitude')

fig.update_layout(
    height=700,
    coloraxis_showscale=False,
    mapbox={
        'accesstoken': mapbox_token,
        'style': "dark",
        'zoom': 4},
    showlegend=False,
    margin=dict(t=0, b=0, l=0, r=0)
    )

I tried updating, restarting… I think it has something to do with the notebook renderers package of VsCode but couldn’t really narrow down the issue.

Really? Nobody has a clue? :smiley:

Ok, I had to manually set the figure config, even in a notebook

config = {'scrollZoom': True}
fig.show(config=config)