Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Change font size for all texts in a graph

Is it possible to set the font size for all labels in a plot? I have been able to set the font family changing the internal parameters of matplotlib

from matplotlib import rc
rc('text',usetex=True)
rc('font',**{'family':'serif','serif':['Times']})

I'd like to change the size as well, so that all labels created with 'text' are the same size (note that I want to use TeX in labels)