The matplotlib plot does not display in full screen after clicking the full-screen button.
Steps to reproduce
Code snippet:
import streamlit as st
import matplotlib.pyplot as plt
import random
randomlist = random.sample(range(1, 30000), 1000)
_c1, _c2 = st.columns(2)
with _c1:
fig, ax = plt.subplots(figsize=(16, 9))
ax.plot(randomlist)
st.write(fig)
Expected behavior:
Debug info
- Streamlit version: 1.25
- Python version: 3.10
- OS version: window 11
- Browser version: Edge, Firefox, Chrome