Skip to content

Commit

Permalink
allow to remove results
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Oct 18, 2024
1 parent b564d5c commit f029596
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alphastats/gui/pages/06_Results.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@
st.markdown("\n\n\n")
st.markdown(f"#### {method}")

if st.button("x remove analysis", key="remove" + method + str(count)):
st.session_state[StateKeys.PLOT_LIST].remove(saved_item)
st.rerun()

display_plot(method + str(count), plot, show_save_button=False)

0 comments on commit f029596

Please sign in to comment.