Dmtlant commited on
Commit
5381888
·
verified ·
1 Parent(s): ce76895

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -102,6 +102,8 @@ if st.button("▶️ Запустить симуляцию"):
102
  fig, axs = plt.subplots(3, 1, figsize=(10, 8))
103
  plt.subplots_adjust(hspace=0.45)
104
  lags_shown = 6
 
 
105
 
106
  axs[0].cla()
107
  axs[1].cla()
 
102
  fig, axs = plt.subplots(3, 1, figsize=(10, 8))
103
  plt.subplots_adjust(hspace=0.45)
104
  lags_shown = 6
105
+ st.pyplot(fig)
106
+ plt.close(fig)
107
 
108
  axs[0].cla()
109
  axs[1].cla()