Hello
I am trying to change the font of the ticklabels, this does not work the
'normal' rc-way, so what I did was (example):
import matplotlib.pyplot as pl
ffont={'family' : 'sans-serif', 'sans-serif' : ['Arial'], 'size' : 15,
'weight' : 'bold'}
fig = pl.figure(1)
ax = fig.add_subplot(111)
ax.set_xticklabels(ax.get_xticks(),ffont)
ax.plot([1,2,3])
pl.show()
pl.draw()
when I run this and in the figure pan/zoom the plot the ticklabels does not
change (?), the ticks move, but the labels jump to be in the same place.
What am I doing wrong?
Cheers,
Magnus
···
–
View this message in context: http://old.nabble.com/Formatted-ticklabels-going-haywire--tp29056856p29056856.html
Sent from the matplotlib - users mailing list archive at Nabble.com.