Showing posts with label graph. Show all posts
Showing posts with label graph. Show all posts

2007-11-20

How to set font properties in matplotlib create graph

1. Create font dict like this
- font = { 'fontname':'Tahoma', 'fontsize':16 }
2. When you want to change font for example in title use like this
- matplotlib.pylab.title(u'some text', **font)