Re: [Matplotlib-users] show() not returning when figure closed if function called from another module

2008-01-14 Thread Henry Proudhon
On Thu, 2008-01-10 at 14:10 +0100, Henry Proudhon wrote: Hi Matplotlib users, I'm experiencing some problems when closing a figure (I'm using matplotlib 0.91.0). the function is working correctly when invoked inside the module where it is defined: from pylab import * def test():

Re: [Matplotlib-users] (no subject)

2008-01-14 Thread Michael Droettboom
I've committed these changes to matplotlib SVN, and it should make it into the next release of 0.91.x, if we decide to make one. You may be right that Qt's SVG support is iffy (I don't know enough about the spec to be sure, so I'm not conceding that), but either way it doesn't bother me to

Re: [Matplotlib-users] matplotlib/__init__.py

2008-01-14 Thread Darren Dale
On Monday 14 January 2008 02:27:28 am Tom Johnson wrote: I was looking at rc_params() and saw if not os.path.exists(fname): message = 'could not find rc file; returning defaults' ret = dict([ (key, tup[0]) for key, tup in defaultParams.items()])

[Matplotlib-users] Weibull plot

2008-01-14 Thread BL
Hi, I need to make some Weibull analysis and I wanted to make it with numpy and scipy. Theses analysis are based on Weibull plots : - on X, time values are reported according to a log scale - on Y, probability (F) is reported according to a special scale, which lets Weibull random

Re: [Matplotlib-users] IOError: [Errno 2] No such file or directory: 'etopo20data.gz'

2008-01-14 Thread Jeff Whitaker
j. vickroy wrote: Hello, I am a first-time user of matplotlib. When trying to run the plotmap.py example, the following traceback is generated: plotmap.py Traceback (most recent call last): File C:\Documents and Settings\jim.vickroy\My Documents\Projects\High-latitudes

[Matplotlib-users] IOError: [Errno 2] No such file or directory: 'etopo20data.gz'

2008-01-14 Thread j. vickroy
Hello, I am a first-time user of matplotlib. When trying to run the plotmap.py example, the following traceback is generated: plotmap.py Traceback (most recent call last): File C:\Documents and Settings\jim.vickroy\My Documents\Projects\High-latitudes D-region\plotmap.py, line 13, in module

[Matplotlib-users] x axis alignment with bar graph

2008-01-14 Thread John Harrison
I have some code that produces a series of graphs of data over time. For the most part it works well, but for certain combinations of dates the two plots do not line up, due to the width of the bars in the first subplot. What is the best way for force my second subplot's x axis to be

[Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread DaFudl
I integrated mpl into my wxPython application for plotting simple lines. I would like my canvas to behave differently when the containing window is being resized. At the moment all text, all lines, all markers, the legend... remain in the same state (same size and thickness) regardless whether

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread Michael Droettboom
DaFudl wrote: I integrated mpl into my wxPython application for plotting simple lines. I would like my canvas to behave differently when the containing window is being resized. At the moment all text, all lines, all markers, the legend... remain in the same state (same size and thickness)

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread John Hunter
On Jan 14, 2008 3:55 PM, Michael Droettboom [EMAIL PROTECTED] wrote: I think what you're asking for would require a pretty major overhaul of matplotlib. The fact that all the text etc. remains the same size is a matplotlib is designed to scale in the way Jurgen requests with DPI (eg fonts,

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread Chris Sontag
Jurgen, I generally lurk on the list, but I'll speak up now since I have basically done what you are talking about. I integrated MPL (TkAgg) into an existing application that resizes (PyRAF). The path I chose isn't particularly pretty, but it does the job and sounds like it might be flexible

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread Michael Droettboom
Doh! Why didn't I think of that? Mike John Hunter wrote: On Jan 14, 2008 3:55 PM, Michael Droettboom [EMAIL PROTECTED] wrote: I think what you're asking for would require a pretty major overhaul of matplotlib. The fact that all the text etc. remains the same size is a matplotlib is

Re: [Matplotlib-users] re sizing behaviour like in Mircrocal Origin

2008-01-14 Thread Christopher Barker
Michael Droettboom wrote: All that said, you could experiment with rendering to a vector format (e.g. Pdf or Svg) and then have wxPython render it directly with each window resize. If you did want to go that route, someone wrote a SVG renderer for wxPython -- search the wxpython-users

Re: [Matplotlib-users] Problem installing 0.91.2 egg on OS X 10.4

2008-01-14 Thread Russell E. Owen
In article [EMAIL PROTECTED], Charlie Moad [EMAIL PROTECTED] wrote: I have replaced the binary with a working version. I'm running into an odd issue with that version (at least). If I unzip the egg and run easy_install on it it ends up in site-packages with odd permissions: % pwd

[Matplotlib-users] xlim changes without explicit calling of set_xlim

2008-01-14 Thread sunzen w.
Hi, all I found a problem about xlim. It sometimes changes when there is no explicit calling of set_xlim. My application scenario is : at some situation replot the second one of two subplots, which shares x axis with the first one. To finish the replot operation, i first use clear() method to