Streamlit cache not showing previous plots

When i run my code without caching, everytime i make some change, plots are populated. When added caching to my function, everytime a change happens, my plots doesn’t exist anymore.

Can you someone guide on this?

I think it would be helpful to share the sample code, because without it, there can be many reasons why your plot is not showing.