Uniform axis font size

I have a figure that is a collection of lines on log-log scale. How do I get the axis font sizes to be uniform? (See attached figure)

This is how I set the y-axis scale:

fig.update_yaxes(
  type="log",
  exponentformat="power"

)

Does this help?




EDIT:

If you only want to change the tick size try this:

fig.update_yaxes(tickfont={'size':40})