Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread kc106_2005-matplotlib
Michael, I am referring to the fact that there are no Windows binaries provided for Python 2.3. If I simply copy the matplotlib directory over to Python23, py2exe will get confused. I have no clue how to build it for Python23. I don't even have any C compiler. > -Original Message- > Fr

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread Michael Droettboom
[EMAIL PROTECTED] wrote: > What I need is a version of 0.91.2 ver of matplotlib > that works with Python 2.3 to see if that works... I might be misremembering, but I thought 0.91.2 worked with Python 2.3. I don't use 2.3 every day, however. Can you send the errors that are produced when you b

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread kc106_2005-matplotlib
So, do I understand this correctly: In order to get rid of the Tkinter problem when building a matplotlib application using py2exe, I need 0.91.2 ver of matplotlib and use the setup.cfg file to select the backend I want (wxpython in my case). Then run py2exe to build the ap. Correct? But then,

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread Robin
I'm not an expert but I thought I'd try and help... On Feb 19, 2008 7:15 PM, Stef Mientki <[EMAIL PROTECTED]> wrote: > > where you got it from, > probably: http://sourceforge.net/project/showfiles.php?group_id=80706 > matplotlib-0.91.2.win32-py2.4.exe This is a binary distribution, that is one t

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread Stef Mientki
hi John, [EMAIL PROTECTED] wrote: > With Stef's help, I was able to get pass the > "Matplotlib datafile not found" problem in using > py2exe and Matplotlib under Python 2.3 - but then ran > into the same Tkinter not loaded problem like he did. > > After reading Stef's messages from this list, I >

Re: [Matplotlib-users] [wxPython-users] Re: MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread Stef Mientki
hi John, John Hunter wrote: > On Feb 18, 2008 1:11 PM, Stef Mientki <[EMAIL PROTECTED]> wrote: > > >> What is setup.cfg, where can I find it and where can I get information >> about it ? >> > > Let's keep this on matplotlib-users so we don't annoy the good folks > at the wxpython and distu

Re: [Matplotlib-users] MatPlotLib + Py2exe, backend problems ...

2008-02-19 Thread kc106_2005-matplotlib
With Stef's help, I was able to get pass the "Matplotlib datafile not found" problem in using py2exe and Matplotlib under Python 2.3 - but then ran into the same Tkinter not loaded problem like he did. After reading Stef's messages from this list, I downloaded the latest version of Matplotlib - on

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-19 Thread John Hunter
On Feb 19, 2008 9:13 AM, Alan G Isaac <[EMAIL PROTECTED]> wrote: > Of course you can do something like this:: > > from itertools import cycle > > mystyles = ['r+-', 'b.--', 'go-.'] #etc > ax1styles = cycle( mystyles ) You can also cycle through the list matplotlib uses import matpl

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-19 Thread Alan G Isaac
On Tue, 19 Feb 2008, Neal Becker apparently wrote: > IIUC, in order to have each line with distinct line style, I have to > explicitly set the line style. I want pylab to just choose them, just as > it does for colors. Well, pylab does choose: it varies color and not the dash pattern in orde

Re: [Matplotlib-users] Memory trouble with imshow

2008-02-19 Thread John Hunter
On Feb 19, 2008 8:37 AM, Leif Oppermann <[EMAIL PROTECTED]> wrote: > from pylab import * > import gc > for i in range (1000): >A=rand(1024,1024) >im = imshow(A) >#del A #doesn't help >#del im #doesn't help >#print gc.garbage # no garbage matplotlib overplots by default -- try

[Matplotlib-users] Memory trouble with imshow

2008-02-19 Thread Leif Oppermann
Dear all, I ran into a memory problem when trying to draw a few hundred png files using one imshow per file. The problem can be boiled down to the attached code which eats my memory very quickly until Python bombs out. I tried to "del" objects after their use, looked for garbage and read the u

Re: [Matplotlib-users] Showing the plot in the specific location

2008-02-19 Thread John Hunter
On Feb 19, 2008 3:32 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > I am writting an application that evaluate curve fit and draw its plot in a > GUI , I want to draw or show the plot on the GUI not on the pop up window, > but I don't want to save the figure in first step , user just enter an order > fo

Re: [Matplotlib-users] Fail to allocate bitmap, Unable to free colormap, palette is still selected.

2008-02-19 Thread Michael Droettboom
Chris Kennedy wrote: > hi Mike, > > I was able to get it to work using: > >reload(matplotlib) >matplotlib.use('Agg') That suggests that the bug is somehow related to GUI code. As John pointed out, we'll want to very exactly which GUI backend is being used. > I'll have to beat on it so

Re: [Matplotlib-users] Showing the plot in the specific location

2008-02-19 Thread Alan G Isaac
On Mon, 18 Feb 2008, apparently wrote: > I am writting an application that evaluate curve fit and > draw its plot in a GUI , I want to draw or show the plot > on the GUI not on the pop up window, but I don't want to > save the figure in first step , user just enter an order > for the curve fit

Re: [Matplotlib-users] automatically choose line markers/styles?

2008-02-19 Thread Neal Becker
Alan G Isaac wrote: > On Thu, 14 Feb 2008, Neal Becker apparently wrote: >> Can I get nice default line styles and markers, >> automatically set up with matching legend? Automatically >> chosen? I don't want to have to go through and manually >> choose each marker and line style. > > Well, you

[Matplotlib-users] "plot" issue

2008-02-19 Thread Larsen, Jesper
Hi, When I try to plot a time series of numpy masked array data containing 2 values and with one of them masked out my machine chokes (memory usage of more than 900 mb for the script below). The culprit seem to be my use of use the matplotlib.dates.HourLocator on the x axis. Here is a small sc

Re: [Matplotlib-users] Showing the plot in the specific location

2008-02-19 Thread sa6113
I am writting an application that evaluate curve fit and draw its plot in a GUI , I want to draw or show the plot on the GUI not on the pop up window, but I don't want to save the figure in first step , user just enter an order for the curve fit and see their plots on the main window (GUI) . How