Hi Uwe,
Uwe Schmitt wrote:
> Hi,
>
> I'm using
>
> from matplotlib.backends.backend_wx import FigureCanvasWx
>
> for plotting data. It works fine, but the font used on
> Windows XP is not really pretty. I would like to use another
> font family and another size.
I just recently discovered this for a Vista legend problem I had (they
were to big).
from matplotlib.font_manager import FontProperties
self.figure.legend((statsLinesP + statsLinesC), (statsTextsP +
statsTextsC),
loc=self.legendPos, prop=FontProperties(size='smaller'))
Werner
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users