0

I am working on producing a plot for a scientific publication and the optimal format in my case requires significantly increased font sizes.

enter image description here

As you can see the label at the top of the axis spine (red box) is not changed according to the tick label size of the rest of the plot and I cannot find anything in the documentation on this.

Is there any solution?

EDIT: answered here How to change font size of the scientific notation in matplotlib?

2
  • 1
    This is called the “offset” and a solution is detailed at stackoverflow.com/questions/34227595/… Commented Oct 23, 2021 at 10:49
  • 1
    try this: ax.yaxis.get_offset_text().set_fontsize(24) or ax.yaxis.offsetText.set_fontsize(24) Commented Oct 23, 2021 at 12:00

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.