https://matplotlib.org/stable/devel/min_dep_policy.html says that Matplotlib 3.7 does support Python 3.8.