change axis label size matplotlib code example Example: matplotlib text too small import matplotlib.pyplot as plt plt.rcParams.update({'font.size': 22})