st.write and magic commands
Streamlit has two easy ways to display information into your app, which should typically be the
first thing you try:
st.write and magic.
Write arguments to the app.
st.write("Hello **world**!") st.write(my_data_frame) st.write(my_mpl_figure)
Any time Streamlit sees either a variable or literal value on its own line, it automatically writes that to your app using
"Hello **world**!" my_data_frame my_mpl_figure
Still have questions?
Our forums are full of helpful information and Streamlit experts.