To upload files, please first save the app
import pandas as pd
import numpy as np
import streamlit as st
import matplotlib.pyplot as plt
index = pd.date_range(start='2019-01-01', periods=31)
data = np.random.randint(0, 100, size=(len(index)))
df = pd.DataFrame(index=index, data=data)
fig, ax = plt.subplots(figsize=(25, 5))
df.plot(ax=ax, antialiased=False)
st.pyplot(fig)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?