-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
There's an issue with this code, where the matplotlib figures are duplicating when executing the code.
After some time investigating this issue, it's necessary to close the figures after plotting them, otherwise matplotlib keeps referencing a global state variable, causing the figures duplication.
How to fix
After each st.pyplot(fig), run plt.close(fig)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels