I have the following simple python code:
import numpy as np
import matplotlib.pyplot as plt
plt.rc( 'font', size=20, family="Times" )
plt.rc( 'text', usetex=True )
fig = plt.figure( figsize=(8,6) )
ax1 = fig.add_subplot( 1, 1, 1 )
ax1.plot( np.linspace(1,10,10), np.linspace(1,10,10)**2 )
ax1.set_xlabel( r'\textit{x} in a.u.' )
ax1.set_ylabel( r'\textit{y} in a.u.' )
plt.show()
This leads to the following figure:

As you can see, the label labels are too thin in comparison to the label axes (or label labels are too thick). I found out that this is due to the activation of LaTeX text conversion (see the comment in the code), but I don’t know how to change this, because I don’t want to disable LaTeX text rendering.
Any idea why the font thickness (what is the plural of the thickness?) Is inconsistent and how to change this?
Update 1 . Following the suggestion llap42 , will hack
plt.xticks([2, 4, 6, 8, 10], ['2', '4', '8', '10' ])
But this is only a hack and should be the best solution.