Nipun's picture
Update app.py
73104e4
raw
history blame
212 Bytes
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)