PhD thesis setup with the LaTeX Memoir class and some Matplotlib plotting examples