From 3ab93a57fe0685be2ccedff69a5d6d587b3fbf0b Mon Sep 17 00:00:00 2001 From: op07n <39182105+op07n@users.noreply.github.com> Date: Tue, 21 Jan 2020 07:53:20 +0100 Subject: [PATCH] Update beta_distribution.py --- apps/beta_distribution.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/beta_distribution.py b/apps/beta_distribution.py index 0654e17..509bfe7 100644 --- a/apps/beta_distribution.py +++ b/apps/beta_distribution.py @@ -114,8 +114,8 @@ Let us assume that we made three observations of activity for a mutant: """ ) -with st.echo(): - data = [0.83, 0.86, 0.91] +data = [0.83, 0.86, 0.91] +st.write(data) st.write( """ @@ -140,10 +140,10 @@ Which parameter values should best explain these values? (Hint, it's approximately a ratio of alpha:beta ~ 1:1) """ ) - -with st.echo(): - data = [0.53, 0.56, 0.51] - + +data = [0.53, 0.56, 0.51] +st.write(data) + plot_dist(alpha_slider, beta_slider, data) st.write(