Notes

Things from the internet.

matplotlib

Major and minor grid lines on semilogx plot:

ax = fig.gca()
ax.set_xscale('log', basex=10, subsx=np.arange(2,9,1))
ax.xaxis.grid(True, which='both')

Change font style:

from matplotlib import rc
font = {'family' : 'sans-serif',
        'sans-serif' : ['Arial'],
        'size'   : 22}
rc('font', **font)