I want to use LaTex in my matplotlib.pyplot plots for my thesis, but struggle to get it going. I have installed MikTex from the official page and get use the following code.