[Matplotlib-users] variant not working in text()...

2010-05-20 Thread Nick Schurch
Hi all, I'm adding some text to a plt like this: import mapplotlib.pyplot as plt fig=plt.figure() plt.text(0.5,0.5,some text, variant='small-caps') but the text that is plotted is not small caps, its just normal. Is this a bug or am I doing something wrong? -- Cheers, Nick Schurch Data

Re: [Matplotlib-users] variant not working in text()...

2010-05-20 Thread Michael Droettboom
That will only work if you have a small-caps variant of the font installed (which the vast majority of fonts do not). matplotlib does not do any font synthesis at all -- i.e. it does not create a pseudo font variation when one does not exist on disk. Mike On 05/20/2010 10:19 AM, Nick Schurch