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