File size: 213 Bytes
a0224ec
 
 
73104e4
 
 
 
 
6f71803
73104e4
1
2
3
4
5
6
7
8
9
10
11
import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)

import numpy as np
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot(np.random.randn(10, 5))
st.pyplot(fig)