|
From: Peter L. <pet...@im...> - 2011-12-14 17:50:28
|
Hi Latex rendering looks OK here. > In [9]: matplotlib.__version__ > Out[9]: '1.0.0' However, synaptic tells me: 1.0.1-rc1-1ubuntu5. System Ubuntu 10.10 with ppa (http://ppa.launchpad.net/bgamari/matplotlib-unofficial/ubuntu) for matplotlib 1.0.1. Best, Peter Am 07.12.2011 23:06, schrieb Alejandro Weinstein: > Hi: > > I am getting incorrect renderings when using \hat{x} or \vec{x}. The > following code > > ##################################################### > import matplotlib.pylab as plt > > plt.axes([0.1, 0.15, 0.8, 0.75]) > plt.plot(range(10)) > > plt.xlabel(r'$\hat{y}$ $\vec{x}$ $x^2 + y^2$', fontsize=20) > plt.show() > ##################################################### > > produce the attached plot. Note that the "hat" and the "arrow" are in > the wrong place. The other Latex part looks OK. > > I am running version 1.2.x (built from commit > 11e528425e230a3e23d04202aea23d88d40d9c4c) and Ubuntu 11.10. > > Any ideas about how to solve the problem? > > Alejandro. > |