chewpichai
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)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment