3v324v23 commited on
Commit
322ce5c
·
1 Parent(s): 1645faa

tryout no plot

Browse files
Files changed (1) hide show
  1. streamlit_simulation/app.py +0 -17
streamlit_simulation/app.py CHANGED
@@ -242,23 +242,6 @@ def render_simulation_view(timestamp, prediction, actual, progress, fig, paused=
242
  unsafe_allow_html=True
243
  )
244
 
245
- def render_simulation_view(timestamp, prediction, actual, progress, fig, paused=False):
246
- """Displays the simulation plot and metrics in the UI."""
247
- title = "Actual vs. Prediction (Paused)" if paused else "Actual vs. Prediction"
248
- plot_title.markdown(
249
- f"<div style='text-align: center; font-size: 20pt; font-weight: bold; color: {TEXT_COLOR}; margin-bottom: -0.7rem; margin-top: 0rem;'>"
250
- f"{title}</div>",
251
- unsafe_allow_html=True
252
- )
253
- plot_container.pyplot(fig)
254
-
255
- st.markdown("<div style='margin-bottom: 0.5rem;'></div>", unsafe_allow_html=True)
256
- x_axis_label.markdown(
257
- f"<div style='text-align: center; font-size: 14pt; color: {TEXT_COLOR}; margin-top: -0.5rem;'>"
258
- f"Time</div>",
259
- unsafe_allow_html=True
260
- )
261
-
262
  with info_container.container():
263
  st.markdown("<div style='margin-top: 5rem;'></div>", unsafe_allow_html=True)
264
  st.markdown(
 
242
  unsafe_allow_html=True
243
  )
244
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  with info_container.container():
246
  st.markdown("<div style='margin-top: 5rem;'></div>", unsafe_allow_html=True)
247
  st.markdown(