I ran the "Diagnostics and unbiased sampling" in tutorial but I got an error "NameError: name 'mpl' is not defined" when I tried to implement the algorithm in  box.
The algorithm in  box:
fig = plt.figure(figsize=(6,6));
fig = DIAG.plotAlignedScatters(
yt3[5000:7000,:], s=1, bins=50, vartitles=varstr,
I would very appreciate if you can find some time to answer me.