How can I plot dynamic graphs on streamlit that are updating in real-time?

I have developed that on python but when I try converting it on streamlit I get sets of graphs as images in real-time not a graph that updates dynamically