Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhou committed Jan 14, 2025
1 parent 06ed37c commit 7c0654a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/pages/0_Data inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def add_venn_diagrms(df_merged):
if_sync_y_limits=if_sync_y_limits,
if_separate_plots=if_separate_plots,
)
override_plotly_theme(fig, font_size_scale=1.0)
override_plotly_theme(fig, font_size_scale=0.9)
st.plotly_chart(fig, use_container_width=True)

st.markdown("---")
Expand Down
4 changes: 2 additions & 2 deletions code/util/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def override_plotly_theme(
if axis.startswith('xaxis') or axis.startswith('yaxis'):
fig.layout[axis].update(axis_specs)
fig.layout[axis].update(
tickfont_size=20 * font_size_scale,
tickfont_size=22 * font_size_scale,
title_font_size=22 * font_size_scale,
)
if axis.startswith("yaxis"):
Expand All @@ -101,7 +101,7 @@ def override_plotly_theme(
fig.update_layout(
font_size=22 * font_size_scale,
hoverlabel_font_size=17 * font_size_scale,
legend_font_size=20 * font_size_scale,
legend_font_size=17 * font_size_scale,
margin=dict(
l=130 * font_size_scale,
r=50 * font_size_scale,
Expand Down

0 comments on commit 7c0654a

Please sign in to comment.