[Matplotlib-users] wx apps and matplotlib plots, are they friends?

2007-06-22 Thread Paul Smith
I've converted an analysis program that does some plotting to use the matplotlib API, then wrote a GUI control program using wxWidgets to call it. I've tried to keep the two parts as separate as possible so there is an analysis class that is instantiated in the GUI part, and then the GUI part just

Re: [Matplotlib-users] out of curiosity...

2007-06-22 Thread Roman Bertle
* Ryan Krauss <[EMAIL PROTECTED]> [070622 09:47]: > I don't think we are actually disagreeing with one another. I have > written the kind of library you are talking about and used the same > library from ipython and in a wxpython app. All of my plotting > functions expect a fig instance as an inp

Re: [Matplotlib-users] wx apps and matplotlib plots, are they friends?

2007-06-22 Thread Werner F. Bruhin
Hi Paul, Paul Smith wrote: > > I’ve converted an analysis program that does some plotting to use the > matplotlib API, then wrote a GUI control program using wxWidgets to > call it. I’ve tried to keep the two parts as separate as possible so > there is an analysis class that is instantiated in

Re: [Matplotlib-users] wx apps and matplotlib plots, are they friends?

2007-06-22 Thread John Hunter
On 6/22/07, Paul Smith <[EMAIL PROTECTED]> wrote: > I've converted an analysis program that does some plotting to use the > matplotlib API, then wrote a GUI control program using wxWidgets to call it. > I've tried to keep the two parts as separate as possible so there is an > analysis class that is

Re: [Matplotlib-users] out of curiosity...

2007-06-22 Thread John Hunter
On 6/22/07, Roman Bertle <[EMAIL PROTECTED]> wrote: > very nice! The only remaining problem is that an analysis library > functions might return several figures. In my case the data depends on > several parameters, and the function returns a dictionary containing for each > parameter set statistic

Re: [Matplotlib-users] wx apps and matplotlib plots, are they friends?

2007-06-22 Thread Ryan Krauss
I would also highly recommend Ken McIvor's wxmpl: http://agni.phys.iit.edu/~kmcivor/wxmpl/ It makes wxPython and mpl play very nicely together. I have been involved in several threads recently about how no to import pylab in data analysis libraries and when embedding in gui's. You may find this t

Re: [Matplotlib-users] Documentation for 3D plotting?

2007-06-22 Thread Stephan Bourduas
On June 20, 2007, Eric Firing wrote: > Unfortunately, the 3D plotting capability is incomplete and mostly > unmaintained. > > Orest Kozyar wrote: > > One thing I would really love to be able to do is generate a surface > > map that is color-coded. Right now I can generate a single-color > > surfa

Re: [Matplotlib-users] Documentation for 3D plotting?

2007-06-22 Thread Ryan Krauss
There is a nice gnuplot python interface out there. Google for gnuplot.py On 6/22/07, Stephan Bourduas <[EMAIL PROTECTED]> wrote: > On June 20, 2007, Eric Firing wrote: > > Unfortunately, the 3D plotting capability is incomplete and mostly > > unmaintained. > > > > > Orest Kozyar wrote: > > > One

[Matplotlib-users] odd plot behaviour using symbol -- bug?

2007-06-22 Thread Antonio Gonzalez
I'm seeing a rather odd behaviour when plotting (using mpl 3405): - create a figure with two subplots - plot something on each axis - plot an extra something on the first axis USING A SYMBOL - set axis off - show() Result: the second plot won't be shown However, the second plot will be shown if I

Re: [Matplotlib-users] odd plot behaviour using symbol -- bug?

2007-06-22 Thread John Hunter
On 6/22/07, Antonio Gonzalez <[EMAIL PROTECTED]> wrote: > I'm seeing a rather odd behaviour when plotting (using mpl 3405): > - create a figure with two subplots > - plot something on each axis > - plot an extra something on the first axis USING A SYMBOL > - set axis off > - show() > Result: the se

Re: [Matplotlib-users] odd plot behaviour using symbol -- bug?

2007-06-22 Thread John Hunter
On 6/22/07, John Hunter <[EMAIL PROTECTED]> wrote: > Truly an interesting bug. It doesn't show up in PS but does in Agg. > The most likely explanation is that the draw marker function is > setting a clip path that isn't properly getting cleared and subsequent > draws are being clipped to the orig