Re: [Matplotlib-users] set font problem.

2008-09-16 Thread sa6113
While using this code I get an error saying : Figure instance has no attribute 'findobj' I found that, I need a new version of mpl that install on python 2.4 and higher but I used python 2.3 and I can't upgrade that. would you plz tell me that may I accomplish that witout findobject?? How? Th

Re: [Matplotlib-users] set font problem.

2008-09-15 Thread John Hunter
If you have 20 minutes to spare, then you can be well on your way to financial stability. 20 minutes is all it takes to listen to two short audio clips, about a revolutionary home business, that has global status. It's creating wealth and extra income for thousands around the world. Want to k

Re: [Matplotlib-users] set font problem.

2008-09-14 Thread John Hunter
On Sun, Sep 14, 2008 at 1:30 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > Thanks for your help, it works, but it is very difficult because I want to > show a FontDialog contains all fonts in system to user and change the plot > text (Legend, Label and ex.) font to that. > How may I accomplish that? Is

Re: [Matplotlib-users] set font problem.

2008-09-13 Thread sa6113
Thanks for your help, it works, but it is very difficult because I want to show a FontDialog contains all fonts in system to user and change the plot text (Legend, Label and ex.) font to that. How may I accomplish that? Is there any way? sa6113 wrote: > > I want to set all font system to my tex

Re: [Matplotlib-users] set font problem.

2008-09-13 Thread John Hunter
On Sat, Sep 13, 2008 at 4:35 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > I want to set all font system to my texts, but I can't set all the fonts. I > am using this code: > > font= FontProperties( size='small' ,fname = 'Tahoma' ) > self.ax.legend(line, label, legend , prop =

[Matplotlib-users] set font problem.

2008-09-13 Thread sa6113
I want to set all font system to my texts, but I can't set all the fonts. I am using this code: font= FontProperties( size='small' ,fname = 'Tahoma' ) self.ax.legend(line, label, legend , prop = font ) It raises this error : font = FT2Font(str(fname)) RuntimeError: Coul