tweak formatting

master
michael 2022-10-27 12:05:52 -07:00
parent f83a98ffe0
commit 6f69f508b6
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ def ratio_pyro():
# generate prob. distribution histogram & return embed # generate prob. distribution histogram & return embed
fig = ff.create_distplot( fig = ff.create_distplot(
[ptemps], [ptemps],
group_labels=[f.name], group_labels=[f.filename],
show_rug=False, show_rug=False,
show_hist=False, show_hist=False,
) )
@ -52,7 +52,7 @@ def ratio_pyro():
fig.update_xaxes( fig.update_xaxes(
title_text="Temperature (°C)", title_text="Temperature (°C)",
) )
fig.update_xaxes( fig.update_yaxes(
title_text="Probability (1/°C)", title_text="Probability (1/°C)",
) )
freq_plot = fig.to_html() freq_plot = fig.to_html()