Reputation: 14836
This might be a very simple question but anytime I connect to a server in remote I have troubles using latex symbols in matplotlib.
The problem is this line of code
xlabel(r'$v_r$ [km s$^{-1}$]')
If it's in the code I get this error message
typeError: coercing to Unicode: need string or buffer, dict found
I'm already using matplotlib.use('Agg')
Upvotes: 2
Views: 2438