for this example
from pylab import *
the y-axis has a different font (italic) than the x-axis (sans-serif).
Looking at the code, this is because it is set as math text ($ ...$).
Is there a trick to ensure a sans-serif font for the y-axis?
(I would like to use matplotlib plots in a presentation
and sans-serif fonts are better suited for this.)