Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
On Fri, Jan 05, 2007 at 04:23:53PM -0600, Glen W. Mabey wrote: > Contrary to the comments in the default matplotlibrc, it seems that > font.size does not set the fontsize for axis labels and ticks; you have > to set [xy]tick.labelsize and axes.labelsize explicitly. But I haven't > had a chance to

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
On Fri, Jan 05, 2007 at 04:23:53PM -0600, Glen W. Mabey wrote: > p.get_name() > > If this last statement returns the first element of > matplotlib.rcParams[ 'font.sans-serif' ] > then I would think that everything is working like it ought to. > fallback font is being used (fm.defaultFont)

Re: [Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread Glen W. Mabey
On Fri, Jan 05, 2007 at 12:21:04PM -0500, [EMAIL PROTECTED] wrote: > In my code I did family="sans-serif" but it didn't seem to have > any effect. Any ideas? I was struggling with this myself this week. Do: import matplotlib.font_manager fm = matplotlib.font_manager.FontManager() If fm

[Matplotlib-users] Memory leak & Tkinter?

2007-01-05 Thread Dylan Passmore
First, I'm new to Matplotlib (and Python!), so apologies in advance if I'm missing something obvious. I'm running on XP, Numpy ver. 1.0.1, Matplotlib ver. 0.87.7, Python ver. 2.4.3 I'm trying to create several plots. I noticed that after saving each plot my script's memory footprint increases by

Re: [Matplotlib-users] Resolution of SVG output

2007-01-05 Thread Christopher Barker
I wish I could help more, but I really have no clue about embedding images in SVG -- I haven't even used imshow() at all. > Perhaps there is a way to increase the dpi of the included > bitmaps? A bitmap has a particular size -- period -- it can be re-scaled by interpolating, etc, but it has a

[Matplotlib-users] family="sans-serif" not taking effect? why?

2007-01-05 Thread chris
In my code I did family="sans-serif" but it didn't seem to have any effect. Any ideas? Chris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your

[Matplotlib-users] matplotlib and wxmsw26uh_vc.dll

2007-01-05 Thread Allan Noriel Estrella
Philippe Fremy first, install the unicode version of wxPython since matplotlib is compiled using it. then add that dll in the variable to be passed to the data_files argument of setup, something like this: matplotlibdata_files.append(('',['E:\\Python25\\Lib\\site-packages\\wx- 2.6-msw-unicode\\wx

Re: [Matplotlib-users] Resolution of SVG output

2007-01-05 Thread Marius 't Hart
Dear Chris, That site really cleared the basic resolution stuff up for me, and it was pretty much as I expected. Your remark about how imshow() works with SVG made me wonder. Might it be that the output of imshow() is set in pixels so that when I increase the dpi of the total figure, the subplots

[Matplotlib-users] MPL compliant

2007-01-05 Thread Lionel Roubeyrie
Hi all, have an happy new year! I want to make the windrose module more mpl compliant, with setp and others, then could you say me what is the best way to do so? I have tried to subclasse PolarAxes with the code below, but I've got a bad result, like you can see in the picture :-( An idea? ###

[Matplotlib-users] matplotlib and wxmsw26uh_vc.dll

2007-01-05 Thread Philippe Fremy
Hi, This seem to be a recurring problem but I haven't found the answer to my problem by googling. I am packaging an application that uses python 2.5 (from python.org) , ansi version of wxpython (version >= 2.6) and numpy 1.01, all this on windows. When I run my program, it complains

[Matplotlib-users] plotting only some error bars

2007-01-05 Thread Christian Meesters
Hoi, For some plot I'd like to display a dotted line (style = 'k.-') with an error bar at only every 30th point or so. The error values in this case are scalars. Of course, I could produce a slice like mydata[::jumper] and plot these above the first plot, but this seems a bit akward. Anyone wit

Re: [Matplotlib-users] Problem with set_xlim

2007-01-05 Thread Berthold Höllmann
Tommy Grav <[EMAIL PROTECTED]> writes: > You have to use set_ylim((0,2)) to set the y limits. Is there a function/method to calculate apropriate ?lim values from a given Dataset? Regards Berthold -- __ Address: G / \ L Germanischer Lloyd p