Streamlit Autorefresh problem

I’m a new user of stream lit, I’m working on a machine learning project. I want to make graphic Univariate, Bivariate and multivariate to explore the data, the problem is when i click any button it refresh alone than I can’t continue to select.
I find a solution by using “st.session_state” but when I make a graphic in univariate and when I pass to the bivariate I find the graphic it stay on the cache memory. I hope you will understand with the graphic and the code
I try too much but i don’t find solution, can you help me please

Thank you, and I’m sorry for my English, i’m Arabic and french speaker