I am using Python 2.7, Matplotlib 1.5.1, and attempting to use LaTeX for all text rendering. I am trying to make the font of Plot 1's axis tick labels match those in Plot 2. For some reason, since I did not explicitly set the tick labels in Plot 1, they remain in the default LaTeX font. I would like all tick labels, regardless of whether they were explicitly set, to match the font of those in Plot 2. While knowing how to change both sets of tick label fonts to some 3rd, consistent font would be useful, I am more interested in knowing how to set Plot 1's tick fonts to be the exact font shown in Plot 2 below.
Also, since I imagine it might be a more common query from someone in the same situation, it would be good to know how to set both sets of tick labels to match those in Plot 1.
from matplotlib import pyplot as plt
plt.rc('text', usetex=True)
my_fig = plt.figure(figsize=(8,4))
x = range(10)
y = range(10)
ax1 = my_fig.add_subplot(1, 2, 1)
ax1.plot(x, y)
ax1.set_title('Plot 1')
ax2 = my_fig.add_subplot(1, 2, 2)
ax2.plot(x, y)
ax2.set_xticklabels(range(10))
ax2.set_yticklabels(range(10))
ax2.set_title(r'\textit{Plot 2}')