Plotly scatter grpah not working as expected

I’ve noticed that the output works fine in Google Colab when I use the graph with the scatter_plotting.py file, but in Streamlit, it’s not displaying correctly. I’ve ensured that the requirements match the GitHub version and are the same as in Colab, but I’m still having no luck.

link for repo GitHub - msrinag/CipherStockX: CipherStockX is an innovative stock analysis platform that decodes market trends and insights. Utilizing advanced AI models, it identifies relevant stocks, analyzes sentiment, and scores performance based on SEC filings. Empower your trading decisions with real-time data and intuitive visualizations on a sleek, interactive website.
link for deployed app https://cipherstockx.streamlit.app/
snapshot of images
colab


streamlit