I have a very strange problem that appeared recently, more or less simultaneously to my Ubuntu upgrade to 16.10.
Using Pyplot, when I use LaTeX in labels, Python3 gives back something very strange. For example, I tried to compile the example from http://matplotlib.org/examples/text_labels_and_annotations/text_demo_fontdict.html and I got this result:
I try to upgrade my matplotlib with pip, but nothing changed. Right now: numpy=1.11.1, matplotlib=1.5.3
Interestingly, this problem disappears when I go back to python2, and the conversion is good.
Edit: on another machine, with Ubuntu 16.10 up-to-date, the same mpl and np versions, this bug appears in python3 AND python2.
EEdit : I did not find the problem, but a guess is a problem in the cm font of matplotlib. I tried to change the font (see e.g. How do I change the axis tick font in a matplotlib plot when rendering using Latex?), and the problem disappeared...
Thanks in advance for your help!