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