Issues about points shown on maps via plotly after deploying

Hi, I hope this message finds you well!
Currently, I’m trying to develop an app based on plotly and streamlit, to draw location points on map, and check whether they are changing through a time scale.

The app is :
source code: test_streamlit/ at master · CS0000/test_streamlit · GitHub

The points shown on the graph were supposed to be selected based on the date range in the slider, but only the points when it first renders were shown. One more weird thing is it seems that only the points are not visible on the graph, the hover info can show itself when I move the mouse pointer on them. Before deploying on the cloud, it worked perfectly fine on my local machine.

for example, when I put the mouse pointer in the position of the red arrow below:

Any help or suggestion is appreciated. Thank you!


Hi, did you ever solve this issue?

I’m experiencing the same problem. Here is my code:

import pandas as pd
import streamlit as st
import as px

df_locations = pd.DataFrame(...)

fig = px.scatter_mapbox(df_locations, lat='latitude', lon='longitude')