Answers for "how to change axis size in matplotlib"

5

axis number size matplotlib

ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)
Posted by: Guest on March-29-2020
1

change plot size matplotlib

from matplotlib.pyplot import figure
figure(num=None, figsize=(8, 6), dpi=80, facecolor='w', edgecolor='k')
Posted by: Guest on May-31-2020

Code answers related to "how to change axis size in matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language