`model` instead of `mod` at line 1412 in megaplot.py
The line (https://git.ligo.org/lscsoft/bayeswave/blob/master/BayesWaveUtils/scripts/megaplot.py#L1412) in megaplot needs a keyword change from mod
to model
as the former is not a defined keyword in the context of the called function whitened_residual_plots