Skip to content

Commit 249f661

Browse files
authored
fix: fix a bug in return curve display (#1042)
* fix a bug in return curve display * fix ci
1 parent 2dde8b8 commit 249f661

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rdagent/log/ui/app.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,11 +643,11 @@ def feedback_window():
643643
with st.expander("**Config⚙️**", expanded=True):
644644
st.markdown(state.scenario.experiment_setting, unsafe_allow_html=True)
645645

646-
if fbr := state.msgs[round]["Quantitative Backtesting Chart"]:
647-
st.markdown("**Returns📈**")
648-
fig = report_figure(fbr[0].content)
649-
st.plotly_chart(fig)
650646
if fb := state.msgs[round]["feedback"]:
647+
if fbr := state.msgs[round]["Quantitative Backtesting Chart"]:
648+
st.markdown("**Returns📈**")
649+
fig = report_figure(fbr[0].content)
650+
st.plotly_chart(fig)
651651
st.markdown("**Hypothesis Feedback🔍**")
652652
h: HypothesisFeedback = fb[0].content
653653
st.markdown(

0 commit comments

Comments
 (0)