From 6f69f508b656b3abf479c84cc2f5033618041875 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Thu, 27 Oct 2022 12:05:52 -0700 Subject: [PATCH] tweak formatting --- flask_frontend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_frontend.py b/flask_frontend.py index 78c9b99..bf90ad3 100644 --- a/flask_frontend.py +++ b/flask_frontend.py @@ -40,7 +40,7 @@ def ratio_pyro(): # generate prob. distribution histogram & return embed fig = ff.create_distplot( [ptemps], - group_labels=[f.name], + group_labels=[f.filename], show_rug=False, show_hist=False, ) @@ -52,7 +52,7 @@ def ratio_pyro(): fig.update_xaxes( title_text="Temperature (°C)", ) - fig.update_xaxes( + fig.update_yaxes( title_text="Probability (1/°C)", ) freq_plot = fig.to_html()