9951 explained code solutions for 126 technologies

python-matplotlibHow to change font size of axes labels

import matplotlib.pyplot as plt

plt.xlabel('woa X!', fontsize=20)
plt.show()ctrl + c
import matplotlib.pyplot as plt

loads Matplotlib module to use plotting capabilities


add label to x-axis

woa X!

text to use as label


set given label font size


render chart in a separate window