Pedagogical plotting of CMB models
Requires the camb Einstein-Boltzmann code.
The easiest way to install this is with conda install camb or pip install camb depending on how you manage your python environment.
Run simply using python scripts/plot_models_data.py
The CMB data file is from the Planck Public Data Release 2 and the different spectra in it are described there.