Re: [Matplotlib-users] Change Font Properties of Annotations

2009-08-05 Thread Gewton Jhames
MIchael, That's it. I don't have microsoft fonts installed, so it's really reverting to the default font. When I put 'sans-serif', instead of 'Tahoma', it works perfectly. Thanks. On Tue, Aug 4, 2009 at 11:40 AM, Michael Droettboom wrote: > Can you add the following to the top of your script: >

Re: [Matplotlib-users] Change Font Properties of Annotations

2009-08-04 Thread Michael Droettboom
Can you add the following to the top of your script: import matplotlib matplotlib.rcParams['verbose.level'] = 'debug-annoying' and send the output here? Most likely the font matching is failing on some other property (e.g. Tahoma) and reverting to the default font, which is non-bold. I don't

[Matplotlib-users] Change Font Properties of Annotations

2009-08-03 Thread Gewton Jhames
I'm having problems to simply set 'bold' the font weight of some annotations. Tryin'this: fig = plt.figure(frameon=False) ax = plt.gca() font = matplotlib.font_manager.FontProperties(family='Tahoma', weight='extra bold', size=12) annotation_total = ax.annotate('Total:', xy=(0, -320), xycoords='ax