I\'m using matplotlib to produce some graphics, and I\'m using latex for the legends.
More specifically, I\'m trying to use something like this:
loglog(x
In addition to using raw strings (as mentioned in the post above) you can also escape the backslash. So typing \\alpha and \\beta will also work.
\\alpha
\\beta