Make your st.pyplot interactive!

Here is a possible solution that you could do?