I am using Python library matplotlib for generating a plot where I need to write some mathematical equations as x and y labels. Is there any way to put the latex code in the matplotlib so that it renders the beautiful equation?
E.g. x/N should be shown as output of \frac{x}{N}.