Skip to content

Commit

Permalink
Change plotting fontsizes
Browse files Browse the repository at this point in the history
  • Loading branch information
himaghna committed Mar 9, 2022
1 parent 24c2f1d commit c7055b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AIMSim/utils/plotting_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,15 +487,15 @@ def plot_scatter_interactive(
yaxis_title=ylabel,
font=dict(
family="Courier New, monospace",
size=20))
size=40))

if title is not None:
fig.update_layout(title={'text': title,
'y': 0.9,
'x': 0.5,
'xanchor': 'center',
'yanchor': 'top',
'font_size': 30})
'font_size': 40})

if hover_names is not None:
fig.update_traces(hovertemplate="<b>%{text}</b><br><br>")
Expand Down

0 comments on commit c7055b3

Please sign in to comment.