Nipun commited on
Commit
73104e4
1 Parent(s): 2aaa778

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,4 +1,10 @@
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
- st.write(x, 'squared is', x * x)
 
 
 
 
 
 
 
1
  import streamlit as st
2
 
3
  x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
5
+
6
+ import numpy as np
7
+ import matplotlib.pyplot as plt
8
+ fig, ax = plt.subplots()
9
+ ax.plot(np.random.randn(10, 5)
10
+ st.pyplot(fig)