Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-02 Thread Werner F. Bruhin
Hi Antonio, (forgot to copy list - for archive) On 02/10/2013 17:05, António de Sousa wrote: Hi Werner, thank you for your reply. Yes, the path is C:\Python26\lib\ Can it be that the error message is coming from a different location? Meaning that there may be duplicate files (e.g. python rel

Re: [Matplotlib-users] Matplotlib installation with Python(x,y)

2013-10-03 Thread Werner F. Bruhin
Hi, On 03/10/2013 09:31, ajdcds wrote: > If doing > > c:\Python26\python.exe file.py > > Then the error is on import private files, stated on my first post as > /import / I didn't see a response from you on this: c:\Python26\python.exe from PyQt4.QtGui import QFormLayout Does this give an impor

[Matplotlib-users] examples for 0.99

2009-08-16 Thread Werner F. Bruhin
I am just starting to test 0.99 (having remained on 0.90.1 for some time now). I can't find the examples - can anyone point out were they are. Used the following to install: matplotlib-0.99.0.win32-py2.5-setup.exe Werner ---

[Matplotlib-users] wx and matplotlib

2009-08-16 Thread Werner F. Bruhin
I am trying to put together a wxPython frame using py.aui to show multiple matplotlib.figures/canvas. Would like that each figure takes x percentage of available screen estate. I.e. would like e.g. to have 2 rows with 3 columns of figures/statistics, i.e. 6 graphics. If the total screen estat

Re: [Matplotlib-users] wx and matplotlib

2009-08-17 Thread Werner F. Bruhin
Hi Chris, Christopher Barker wrote: > Werner F. Bruhin wrote: > >> I am trying to put together a wxPython frame using py.aui to show >> multiple matplotlib.figures/canvas. >> > > I'd recommend you take a look at wxMPL -- it's a nice way to embe

[Matplotlib-users] xticklabels possition on a bar chart

2009-08-18 Thread Werner F. Bruhin
My lables for the different bars are not centered below the bar but are all to the left side of the bars (lower left corner). This is what I am basically doing:     axes = panel.figure.add_subplot(2, 2, 3) ...     axes.bar(indx, values, color=colors)     axes.set_xticklabels(lab

Re: [Matplotlib-users] xticklabels possition on a bar chart

2009-08-18 Thread Werner F. Bruhin
Werner F. Bruhin wrote: ... > Ideally I would like to have these labels printed at an angle. Put my glasses on and found the rotation property in the documentation, only issue left is centering the labels below the bars. Wer

Re: [Matplotlib-users] xticklabels possition on a bar chart

2009-08-19 Thread Werner F. Bruhin
Eric, Eric Firing wrote: > Werner F. Bruhin wrote: >> Werner F. Bruhin wrote: >> ... >>> Ideally I would like to have these labels printed at an angle. >> Put my glasses on and found the rotation property in the >> documentation, only issue left is centerin

Re: [Matplotlib-users] xticklabels possition on a bar chart

2009-08-19 Thread Werner F. Bruhin
Jae-Joon Lee wrote: > You need to adjust the positions of the ticks. > bar command (by default) creates boxes so that their left side > corresponds the first argument. > > http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar > > so, in your case, something like below will wor

[Matplotlib-users] Percentage in pie in e.g. white instead of black

2009-08-21 Thread Werner F. Bruhin
I would like to have the percentage values shown in white instead of in black within a pie chart. I figured I could do something like: def reColor(percent): "I am lost here on how to format the percentage and change the color" axes.pie(values, labels=labels, autopct=reColor

Re: [Matplotlib-users] Percentage in pie in e.g. white instead of black

2009-08-22 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > I would like to have the percentage values shown in white instead of in > black within a pie chart. > The following code is doing what I want, but it does not feel right. myPie = axes.pie(values, labels=labels, autopct=u'%1.0f%%', s

[Matplotlib-users] canvas.Refresh problem with 0.99

2009-08-23 Thread Werner F. Bruhin
I previously used version '0.90.1' and could do something along these lines. figure.add_axes ... etc canvas.Refresh() User makes a new selection and in the code I do: figure.clear() figure.add_axes ... etc canvas.Refresh() With 0.99 and wxAgg on Windows Vista with wxPython 2.8.10.1 Unicode and

Re: [Matplotlib-users] canvas.Refresh problem with 0.99 - solved

2009-08-23 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > I previously used version '0.90.1' and could do something along these lines. > > figure.add_axes > ... etc > canvas.Refresh() > > User makes a new selection and in the code I do: > > figure.clear() > figure.add_axes > ... etc &g

[Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Werner F. Bruhin
I trying to create a Pareto diagram and would like that the percentage marker is center aligned on the bars, i.e. the blue point should be center aligned on the bar instead of to be aligned on the left edge in the following image. The other problem I have is that the xtick_labels are cut of

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-25 Thread Werner F. Bruhin
Jouni K. Seppänen wrote: > "Werner F. Bruhin" writes: > > >> I trying to create a Pareto diagram and would like that the percentage >> marker is center aligned on the bars, >> > > Perhaps the easiest solution is to use bar(...,align='c

Re: [Matplotlib-users] Pareto diagram - align cumulative percentage marker in the middle of the bars

2009-08-26 Thread Werner F. Bruhin
Chris, Christopher Barker wrote: > Werner F. Bruhin wrote: >> The other problem I have is that the xtick_labels are cut off at the >> bottom when the frame is resized below a certain size. How can I >> prevent this? > > I don't think MPL yet has a system fo

[Matplotlib-users] mpl 0.99 and py2exe

2009-09-09 Thread Werner F. Bruhin
I have run into a bit of problem using 0.99 and py2exe. I am getting errors "TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'" in mlab.pyo after py2exe'd my application. This is caused by this type of code, as one normally uses the optimize option with py2exe which means that

Re: [Matplotlib-users] mpl 0.99 and py2exe

2009-09-09 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > I have run into a bit of problem using 0.99 and py2exe. > > I am getting errors "TypeError: unsupported operand type(s) for +=: > 'NoneType' and 'str'" in mlab.pyo after py2exe'd my application. > > This is caused by

Re: [Matplotlib-users] mpl 0.99 and py2exe

2009-09-10 Thread Werner F. Bruhin
Jouni K. Seppänen wrote: > "Werner F. Bruhin" writes: > > >>> I think this has been fixed on the trunk for good, by changing all >>> docstring modifications to use decorators (defined in docstring.py) that >>> check for nonexistent docstrings. T

Re: [Matplotlib-users] matplotlib 0.99.1rc1 available for testing

2009-09-14 Thread Werner F. Bruhin
John Hunter wrote: > We are preparing a bugfix release of the 0.99 branch, and a release > candidate 0.99.1rc1 is available for testing. > > http://drop.io/xortel1# > Just installed it on Vista and saw the following issues so far. - Installer is not running elevated - tracker item 2858636 add

Re: [Matplotlib-users] matplotlib 0.99.1rc1 available for testing

2009-09-15 Thread Werner F. Bruhin
John, John Hunter wrote: > On Mon, Sep 14, 2009 at 10:13 AM, Werner F. Bruhin > wrote: > > >> Just installed it on Vista and saw the following issues so far. >> > > Hey Werner, thanks for the reports. > You are welcome - anyhow I think it would be more

Re: [Matplotlib-users] matplotlib 0.99.1rc1 available for testing

2009-09-15 Thread Werner F. Bruhin
Hi Eric, Eric Firing wrote: > - backend_wx does a wxPython version check which does not work when the application is py2exe'd - tracker item 2858638 added and the above wiki page also contains a work around/correction suggestion. >>> OK, we will take a look at

Re: [Matplotlib-users] matplotlib 0.99.1rc1 available for testing

2009-09-17 Thread Werner F. Bruhin
Eric, Eric Firing wrote: > Werner, > >>> Instead, it looks to me like the best solution is the one you >>> provided at the very bottom of >>> http://www.py2exe.org/index.cgi/MatPlotLib. >> I am happy with what ever change is done as long as it also works for >> py2exe'd application. >> > > I hav

[Matplotlib-users] does mpl.canvas has a flag "needsdrawing"?

2009-09-18 Thread Werner F. Bruhin
I have multiple canvas and sometimes one or more might have nothing to draw (no data). Currently I just call. canvas.draw() canvas.Refresh() for each of the canvas, but this gives me an error if there is no data. Is there a built-in flag I can check before calling draw? Or do I have to keep

Re: [Matplotlib-users] does mpl.canvas has a flag "needsdrawing"?

2009-09-18 Thread Werner F. Bruhin
John, John Hunter wrote: > On Fri, Sep 18, 2009 at 4:39 AM, Werner F. Bruhin > wrote: > >> I have multiple canvas and sometimes one or more might have nothing to >> draw (no data). >> >> Currently I just call. >> >> canvas.draw() >> canv

Re: [Matplotlib-users] does mpl.canvas has a flag "needsdrawing"?

2009-09-18 Thread Werner F. Bruhin
does not use, but the exception is the same as I get in my code when I call draw. Hope this helps Werner On Sep 18, 2009, at 7:43 AM, "Werner F. Bruhin" wrote: John, John Hunter wrote: On Fri, Sep 18, 2009 at 4:39 AM, Werner F. Bruhin wrote: I have multiple canvas and someti

Re: [Matplotlib-users] does mpl.canvas has a flag "needsdrawing"?

2009-09-18 Thread Werner F. Bruhin
John Hunter wrote: > On Fri, Sep 18, 2009 at 8:15 AM, Werner F. Bruhin > wrote: > >> John Hunter wrote: >> >>> We want a complete, free standing example that exposes the bug, with any >>> additional info like mpl backend and version number. >

Re: [Matplotlib-users] does mpl.canvas has a flag "needsdrawing"?

2009-09-18 Thread Werner F. Bruhin
Hi Jae-Joon, Jae-Joon Lee wrote: > My guess is that the error happens when the matplotlib tries to format > the date ticklabels when the xlim is not correctly set, i.e., [0, 1] > in the example. But, I'm not sure what is the best approach here. > > Werner, if there is nothing to draw (i,e, xlim is

[Matplotlib-users] Py2.5.4 on Win7

2009-10-23 Thread Werner F. Bruhin
I am just installing Windows 7 Pro and I am running into a problem with matplotlib. When running e.g. barchart_demo.py I get an error that it can not find msvcp71.dll (the dll is in C:\Python25) and I see the following exception. Traceback (most recent call last): File "barchart_demo.py", lin

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-23 Thread Werner F. Bruhin
Hi Stan, Stan West wrote: From: Werner F. Bruhin [mailto:werner.bru...@free.fr] Sent: Friday, October 23, 2009 07:31 I am just installing Windows 7 Pro and I am running into a problem with matplotlib. When running e.g. barchart_demo.py I get an error that it can not find msvcp71

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-24 Thread Werner F. Bruhin
Installed Py 2.6.3 and I don't see the issue there, but not all libraries I use are on 2.6 yet. So, I thought lets install Python(x, y) and give this a try, but I can't find a Python 2.5.x version of it - is this still available? Werner P.S. Will totally de-install 2.5 again and try once more.

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-24 Thread Werner F. Bruhin
Deinstalled 2.5.4 and installed again, same issue. Deinstalled again and installed 2.5.2, both times I also deleted python25 folder. Running barchart_demo.py directly works (c:\python25\python.exe pathto\barchart_demo.py). Running it from within idle I get the same exception again: Traceback (

Re: [Matplotlib-users] Py2.5.4 on Win7

2009-10-24 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > Installed Py 2.6.3 and I don't see the issue there, but not all > libraries I use are on 2.6 yet. > > So, I thought lets install Python(x, y) and give this a try, but I can't > find a Python 2.5.x version of it - is this still available? &

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
Hi Everyone, On 08/10/2009 06:54, ross.wil...@ga.gov.au wrote: > Hi Listers, > > I recently installed matplotlib 0.99.1 hoping to use mplot3d. However, when > doing 'from mpl_toolkits.mplot3d import Axes3D' python itself crashes. > Reinstalling matplotlib 0.98.5 gets everything working fine, w

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
On 18/02/2010 15:12, Werner F. Bruhin wrote: > Hi Everyone, > > On 08/10/2009 06:54, ross.wil...@ga.gov.au wrote: > >> Hi Listers, >> >> I recently installed matplotlib 0.99.1 hoping to use mplot3d. However, when >> doing 'from mpl_toolkits.mpl

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2010-02-18 Thread Werner F. Bruhin
Using numpy with "/arch nosse" solved the issue. Probably OT here, but does anyone know if numpy will in the future be able to dynamically switch on/off the SSEx support? Werner On 18/02/2010 17:31, Werner F. Bruhin wrote: > On 18/02/2010 15:12, Werner F. Bruhin wrote: >

Re: [Matplotlib-users] py2exe problems for a tkinter/matpotlib project - works for me, but not for others

2010-03-15 Thread Werner F. Bruhin
Hi Kim, On 15/03/2010 10:57, Kim Hansen wrote: Hi group, I have previously had success with py2exe and matplotlib, using a specialized setup.py like the attached one (which is adapted from http://www.py2exe.org/index.cgi/MatPlotLib). However, now I have tried to go a step further and integrate s

Re: [Matplotlib-users] py2exe problems for a tkinter/matpotlib project - works for me, but not for others

2010-03-15 Thread Werner F. Bruhin
On 15/03/2010 14:37, Kim Hansen wrote: Hi Werner 2010/3/15 Werner F. Bruhin <mailto:werner.bru...@free.fr>> Hi Kim, Changing the line 560 in mathtext.py from: font = FT2Font(basename) to: font = FT2Font(str(basename)) Fixed it for me

[Matplotlib-users] Tick label on left and right for yaxis?

2010-03-18 Thread Werner F. Bruhin
Looking at set_ticks_position doc it says that "default" will reset ticks to be on both sides and labels on left, and set_label_position only allows for left or right. Is there any way to have ticks and ticks labels on both left and right? Werner --

Re: [Matplotlib-users] py2exe and matplotlib errors when executing exe

2010-05-19 Thread Werner F. Bruhin
On 19/05/2010 01:17, New2Python wrote: > Thanks, I changed the matplotlibrc file to use the WXAgg backend and then had > to copy the file into the mpl.get_configdir() and in my local working dir > for it to work. > > The file runs however a python error screen pops up and then closes without > givi

Re: [Matplotlib-users] PY2EXE with Matplotlib and wxPython compiles but won't run???

2010-05-19 Thread Werner F. Bruhin
On 19/05/2010 19:55, David Grudoski wrote: I'm trying to build an executable using PY2EXE; running Python 2.5.2 and wxPython 2.8.10.1 and MatplotLib 0.99.0 I tried using the setup.py from the PY2EXE.org Matplotlib page and although everything compiles correctly and generates an executable. When

Re: [Matplotlib-users] PY2EXE with Matplotlib and wxPython compiles but won't run???

2010-05-20 Thread Werner F. Bruhin
On 19/05/2010 20:45, David wrote: > Werner F. Bruhin writes: > > >> >> On 19/05/2010 19:55, David Grudoski wrote: >> >>I'm trying to build an executable using >> PY2EXE; running Python 2.5.2 and wxPython 2.8.10.1 and MatplotLib 0.99

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread Werner F. Bruhin
On 18/02/2010 22:41, Werner F. Bruhin wrote: > Using numpy with "/arch nosse" solved the issue. > > Probably OT here, but does anyone know if numpy will in the future be > able to dynamically switch on/off the SSEx support? I am running again into crashes with matplotl

[Matplotlib-users] MPL 1.2.0 crash with py2exe on Athlon PC

2013-03-11 Thread Werner F. Bruhin
Hi, Some time ago I tried to upgrade from an old version of mpl 0.99 to 1.0 but couldn't get it to work with py2exe and running on a Athlon PC. I finally got around to upgrade things and have another go at this. I am now on: Python 2.7 Numpy 1.6.1 /arch nosse mpl 1.2.0 I see a hard crash on t

Re: [Matplotlib-users] MPL 1.2.0 crash with py2exe on Athlon PC

2013-03-12 Thread Werner F. Bruhin
9) and the setup.py script I used to generated the py2exe'd version. The py2exe'd version works without problem on my Intel Core i5 but crashes on an AMD Athlon 2400+ equiped PC. Anyone has some tips, ideas on how to track this down? Best regards Werner On 11/03/2013 20:02, Werner

Re: [Matplotlib-users] Trying to migrate to Python 3.2, Matplotlib 1.2.1

2013-04-19 Thread Werner F. Bruhin
On 19/04/2013 12:26, Mark Lawrence wrote: > On 19/04/2013 04:03, John Ladasky wrote: > >> Reading more, I realize that the way I was getting GUI output previously >> (with Python 2.7 and Matplotlib 1.1) was through wxPython. >> Unfortunately, it appears that wxPython's star is fading, and a Python

[Matplotlib-users] wxPython Phoenix - backend_wxagg

2013-04-19 Thread Werner F. Bruhin
Hi, I am trying to get matplotlib 1.2.0 to work with wxPython Phoenix - will provide a patch when it is working. Made the changes to backend_wx* for things like EmptyImage/EmptyBitmap and Toolbar but I am stuck on the following. if bbox is None: # agg => rgba buffer -> bitmap

Re: [Matplotlib-users] wxPython Phoenix - backend_wxagg

2013-04-25 Thread Werner F. Bruhin
s I didn't get for some reason. http://sourceforge.net/mailarchive/forum.php?forum_name=matplotlib-users On 20/04/2013 08:58, Werner F. Bruhin wrote: > Hi, > > I am trying to get matplotlib 1.2.0 to work with wxPython Phoenix - will > provide a patch when it is working. > > Ma

Re: [Matplotlib-users] wxPython Phoenix - backend_wxagg

2013-04-27 Thread Werner F. Bruhin
Hi Michael, On 26/04/2013 14:40, Michael Droettboom wrote: On 04/26/2013 02:57 AM, Werner F. Bruhin wrote: Hi, Anyone can provide some info on what "agg.buffer_rgba" returns and maybe even some suggestion on how to resolve this issue in the wxagg backend. It returns a Python buffer

Re: [Matplotlib-users] wxPython Phoenix - backend_wxagg

2013-05-03 Thread Werner F. Bruhin
Mike, On 03/05/2013 15:14, Michael Droettboom wrote: FWIW: Matplotlib uses the older buffer interface because that is what the older version of wx used (as well as other GUI toolkits). It would be nice to move to the new memoryview objects, but all of the GUI frameworks will need to move in t

[Matplotlib-users] text element just above previous text element

2010-11-08 Thread Werner F. Bruhin
I like to have 2 or 3 text elements "stacked" on top of each other on top of a bar. Currently it works for the first text element by doing: height = bar.get_height() xCorr = bar.get_x() yCorr = 0.20 + height txtax = axes.text(xCorr, yCorr, hstr) trying to add the second text just above the pre

Re: [Matplotlib-users] text element just above previous text element

2010-11-09 Thread Werner F. Bruhin
Finally figured it out after pulling some hear. Using "axes.annotate" instead of "axes.text" worked for me, i.e. something like this: axes.annotate(hstr, xy=(xCorr, yCorr), xytext=(0, 5), textcoords='offset points') instead of what I did originally. Werner

[Matplotlib-users] RuntimeError: failed to gain raw access

2010-12-08 Thread Werner F. Bruhin
Using mpl 0.99.1 and sometimes get the following exception. Traceback (most recent call last): File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 14640, in lambda event: event.callable(*event.args, **event.kw) ) File "C:\dev\TwcbBranchesV32\Program\panelstats.py

Re: [Matplotlib-users] freezing matplotlib

2007-02-02 Thread Werner F. Bruhin
Hi, Emmanuel Favre-Nicolin wrote: Le lundi 25 décembre 2006 16:00, Allan Noriel Estrella a écrit : Has anyone tried freezing matplotlib embedded in a wx app (using py2ece, cx_freeze or pyinstaller)? The setup.py in the FAQ seems to be outdated. I want to freeze the embedding_in_wx.py in the

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Werner F. Bruhin
Hi Charlie, Great to see a new release, will put some time aside to test it with wxPython early next week. I can't see a reference to the wxPython backend, will it still require the Unicode build or can one use the Ansi build and which versions of wxPython are supported? Werner -

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-07 Thread Werner F. Bruhin
Charlie Moad wrote: > On 2/7/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: >> Hi Charlie, >> >> Great to see a new release, will put some time aside to test it with >> wxPython early next week. >> >> I can't see a reference to the wxPython back

[Matplotlib-users] testing of matplotlib 0.90 - on Win XP and Python 2.5

2007-02-14 Thread Werner F. Bruhin
I just downloaded the 0.9 binary and did some testing and also updated all the wx examples to use the new wx namespace (i.e. change from "from wxPython.wx import *" to "import wx". dynamic_demo_wx.py - changed name space using Boa's conversion tool - moved the timer stuff to __init__, saved a r

Re: [Matplotlib-users] testing of matplotlib 0.90 - on Win XP and Python 2.5

2007-02-15 Thread Werner F. Bruhin
Hi Chris, Christopher Barker wrote: > Thanks for doing this, the wx back-ends are a bit neglected at the > moment. > > Which version of wxPython did you test this all on? We really need > some work/testing with 2.8.*, I now there are some issues on OS-X, but > I haven't tried it anywhere else y

Re: [Matplotlib-users] ANN: matplotlib-0.90.0

2007-02-21 Thread Werner F. Bruhin
Chris Barker wrote: > Russell E Owen wrote: > > >> I did earlier today; I'm hoping it will go up in the next day or so. >> >> WXAgg is built against wxPython 2.6.x because last I heard the 2.8.x >> issues weren't resolved. >> > > Correct. I'm still not sure how well MPL works with wxPython

Re: [Matplotlib-users] what version of wxpython to use???

2007-02-22 Thread Werner F. Bruhin
Hi Jeff, Jeff Peery wrote: > hello, I am having some difficulty. I just upgraded to matplotlib 0.9, > wxpython 2.7.2, and python 2.5. I have a wx application that uses > matplotlib wxagg backend and wxpython for the GUI, it was working > wonderfully unitl I upgraded now it crashes all the time

Re: [Matplotlib-users] matplotlib and py2exe

2007-03-31 Thread Werner F. Bruhin
Hi Archana, Archana Ganesan wrote: Hi all, I have a python application that uses matplotlib. I want to compile it into an executable. I tried using py2exe but it returned some error w.rt matplotlib. Cpuld anyone please help me with this? Is there some other way to get it done? I am using ma

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-01 Thread Werner F. Bruhin
Hi Archana, Sometimes py2exe can't figure out what needs to be included. In these cases one creates entries in the packages section to force the inclusion of one or multiple packages. Archana Ganesan wrote: > Hi all, > ... > > options = {"py2exe": {"compressed": 1, > "opti

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-02 Thread Werner F. Bruhin
Hi Archana, Archana Ganesan wrote: > Hi, > > I tried following the instructions at the py2exe site and I have also > uncommeneted and made it include the matplotlib.numerix package. Still > it doesnt seem to work. Is there any other way of compiling it into an > executable? Did you try to compi

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-03 Thread Werner F. Bruhin
Hi Giorgio, Giorgio Luciano wrote: > Hello Werner, > here is the file I try to compile. > It gave an error of missing DLL when i try to launch :( > no Idea why, since with you example everything works > (I'm using maplotlib 0.87.7) I assume the DLL not found is "wxmsw26uh_vc.dll" at least I believ

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Daniel, Daniel Stalder wrote: > Hello > > I saw your thread and I have a related problem. > I use matplotlib (0.90.0.win32-py2.5) with wxPython > (2.8-win32-unicode-2.8.3.0-py25). > I use matplotlib with WXAgg and got the following error msg: > "This application has failed to start because wxms

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Giorgio, Giorgio Luciano wrote: > Hello Werner, > and thank for the reply I've tried to recompile everything. The file > you sent in the mailing list give me the problem of wxmsw26uh_vc.dll > (and also dll missing while compiling) For the wxmsw26uh_vc.dll you need to rename the .pyd file as m

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-04 Thread Werner F. Bruhin
Hi Giorgio, Had a quick look at pylab based scripts and got an error on backend_tkagg when py2exe it. It looks like one needs to force the backend to be included, I used tkagg but you would have to replace that with wxagg for your script. Attached is a setup.py and from the examples the fil

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-05 Thread Werner F. Bruhin
Hi Archana, Archana Ganesan wrote: > ... > trial.py is as follows. > > from pylab import * > > x = xrange(10) > plot(x) > savefig("trial.png") > The setup.py you are using will not work, it is meant for a matplotlib embedded in wx, and even for that some lines are commented out. Can you try the

Re: [Matplotlib-users] .notdef

2007-04-07 Thread Werner F. Bruhin
Johann, Jouni K. Seppänen wrote: > "Werner F. Bruhin" <[EMAIL PROTECTED]> writes: > > >>>> Actually, I have other problems : I cannot save in many formats. The >>>> bmp is deemed usueless by gimp, >>>> >>> I didn&#

Re: [Matplotlib-users] matplotlib and py2exe

2007-04-09 Thread Werner F. Bruhin
Hi Emmanuel, Maybe your problem has to do with your "enthought" build of wxPython. I use standard builds from wxPython site. Emmanuel wrote: > when putting the full path of wxmsw26u_vc_enthought.dll in setup.py > like this > > data_files = [("lib\\matplotlibdata", mpfiles), >

Re: [Matplotlib-users] Yet another matplotlib py2exe problem

2007-04-12 Thread Werner F. Bruhin
Grant, Grant Edwards wrote: > OK, I'm on my third day of fighting with matplotlib. I'm > finally able to get py2exe to produce a "dist" directory, but > it _still_ doesn't work: > > Traceback (most recent call last): > File "surfacedit.py", line 3, in ? > File "wxmpl.pyc", line 23, in ?

Re: [Matplotlib-users] FigureCanvasWx setting font properties

2007-05-03 Thread Werner F. Bruhin
Hi Uwe, Uwe Schmitt wrote: > Hi, > > I'm using > > from matplotlib.backends.backend_wx import FigureCanvasWx > > for plotting data. It works fine, but the font used on > Windows XP is not really pretty. I would like to use another > font family and another size. I just recently discovered th

Re: [Matplotlib-users] DLL not found when importing pylab on Windows

2007-05-10 Thread Werner F. Bruhin
Hi Paul, Paul Ray wrote: > Hi, > > A colleague of mine uses Python on Windows. When he upgraded to > matplotlib 0.90 (from 0.82, I think) he started getting an import > error when importing pylab. We tried many combinations and the only > thing that fixed it was downgrading back to 0.82. >

Re: [Matplotlib-users] DLL not found when importing pylab on Windows

2007-05-10 Thread Werner F. Bruhin
Hi Paul, Paul Ray wrote: > > On May 10, 2007, at 10:34 AM, Werner F. Bruhin wrote: > >> What backend are you using? >> >> If you use wxPython then as of 0.87.? something you need to either >> use wxPython 2.6 Unicode or rename the following file: > >

Re: [Matplotlib-users] DLL not found when importing pylab on Windows

2007-05-10 Thread Werner F. Bruhin
Paul, Paul Ray wrote: > > On May 10, 2007, at 11:05 AM, Werner F. Bruhin wrote: > >> Should you have a small matplotlib script which shows the problem >> I'll give it a try on my setup (XP or Vista with Python 2.5 and numpy. > > No need for a script. "

Re: [Matplotlib-users] matplotlib and py2exe

2007-05-28 Thread Werner F. Bruhin
Hi Robert, If your app is wxPython based then I would use the attached as a test case and not the simple_plot one. Then if you don't use wxPython Unicode 2.6.x then you need to follow Andrea's work around. matplotlib/backends/_wxagg.pyd to matplotlib/backends/_wxagg not used.pyd Hope th

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-04 Thread Werner F. Bruhin
John Hunter wrote: > matplotlib 0.90.1 is out and available for download from the sourceforge site. > Just installed it. Works very nicely with the exception of some font issue. I am getting this: Could not match Bitstream Vera Serif, New Century Schoolbook, Century Schoolbook L, Utopia, ITC

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-05 Thread Werner F. Bruhin
John, John Hunter wrote: On 6/4/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: John Hunter wrote: > matplotlib 0.90.1 is out and available for download from the sourceforge site. > Just installed it. Works very nicely with the exception of some font issue. I am getting thi

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-05 Thread Werner F. Bruhin
John, John Hunter wrote: On 6/4/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: John Hunter wrote: > matplotlib 0.90.1 is out and available for download from the sourceforge site. > Just installed it. Works very nicely with the exception of some font issue. I am getting thi

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-05 Thread Werner F. Bruhin
John Hunter wrote: > matplotlib 0.90.1 is out and available for download from the sourceforge site. > When trying to package my application with py2exe I get the following error: Traceback (most recent call last): File "setup.py", line 141, in mpdir, mpfiles = matplotlib.get_py2exe_dataf

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-05 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > John Hunter wrote: > >> matplotlib 0.90.1 is out and available for download from the sourceforge >> site. >> >> > When trying to package my application with py2exe I get the following error: > > Traceback (most recent ca

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-05 Thread Werner F. Bruhin
Hi Andrew, Andrew Straw wrote: > Dear Werner, > > This seems to be an unintended side-effect of reorganizing the mpl > data file location that I did prior to this release. (I.e. it's not > your code that broke, I think it's mpl.) Unfortunately, since I didn't > (and still don't) use py2exe, it

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-07 Thread Werner F. Bruhin
Hi Andrew, Werner F. Bruhin wrote: > Hi Andrew, > > Andrew Straw wrote: > >> Dear Werner, >> >> This seems to be an unintended side-effect of reorganizing the mpl >> data file location that I did prior to this release. (I.e. it's not >> your co

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-08 Thread Werner F. Bruhin
Hi Andrew, Andrew Straw wrote: ... Dear Werner, I am reluctant to eliminate the sub-folder structure because I think it would add the possibility of unnecessary bugs to just the py2exe built version. Would it be possible for you to re-factor this to include the directory layout? When you tes

Re: [Matplotlib-users] Redundant error message when using wxAgg with wxPython 2.8

2007-06-08 Thread Werner F. Bruhin
Hi Sturla, Sturla Molden wrote: > There is an annoying bug when using wxAgg backend with wxPython 2.8 on > Windows. Whenever matplotlib is imported, we get a modal message box > displaying the error message: > > "This application has failed to start because wxmsw26uh_vc.dll was not > found. Rei

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-14 Thread Werner F. Bruhin
Hi John, Werner F. Bruhin wrote: > John, > > John Hunter wrote: >> On 6/4/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: >>> John Hunter wrote: >>> > matplotlib 0.90.1 is out and available for download from the >>> sourceforge site. >&

Re: [Matplotlib-users] ANN: matplotlib-0.90.1

2007-06-14 Thread Werner F. Bruhin
John, John Hunter wrote: > On 6/14/07, Werner F. Bruhin <[EMAIL PROTECTED]> wrote: > >> >>> I am getting this: >> >>> Could not match Bitstream Vera Serif, New Century Schoolbook, >> Century >> >>> Schoolbook L, Utopia, ITC Bookman,

Re: [Matplotlib-users] py2exe + matplotlib == frustration

2007-06-16 Thread Werner F. Bruhin
Hi Viray, Viraj Vajratkar wrote: > ... > well i run "python setup.py py2exe" in the console but it finally > gives : "error: can't copy > 'F:\Python25\Lib\site-packages\matplotlib\mpl-data\fonts' : does'nt > exist or not a regular file" (when actually there is a directory > called mpl-data whi

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] py2exe with pylab

2007-09-18 Thread Werner F. Bruhin
Oops, forgot to copy the list. Hi Emmanuel, Emmanuel wrote: Hi, I got the setup.py given by Werner in an old thread (message from april 4th 2007). I putted code thereafter. This is probably out of date for 0.90. I attach the one I updated at some point, also I am not sure that how I deal wi

Re: [Matplotlib-users] py2exe with pylab

2007-09-20 Thread Werner F. Bruhin
Hi Emmanuel, Emmanuel wrote: > With the setup you provided. I could get py2exe to make an exe of the > simple_plot.py from simple_plot_wxagg of py2exe examples. I use matplotlib only from within wxPython, that is why I used this example script. Which of the matplotlib example script is closest

Re: [Matplotlib-users] py2exe problem

2007-11-27 Thread Werner F. Bruhin
Hi Jeff, Jeff Peery wrote: Hello, I've been using matplotlib 0.87 and I upgraded to 0.91. I ran my setup script for py2exe which had been working flawlessly and now I get an error stating that the .../mpl-data/fonts is not a regular file or doesn't exist. I checked the filename path and it do

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

2008-02-20 Thread Werner F. Bruhin
Hi Robin and Stef, Robin wrote: > > This is a binary distribution, that is one that has already been > compiled on a different machine. This won't have the setup.cfg file, > since it is a file that is used to configure the compilation process > of matplotlib. Also this is why you can only use

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

2008-02-20 Thread Werner F. Bruhin
Stef, Stef Mientki wrote: > ... > btw, i just saw this on "matplotlibrc" > CONFIGURATION BEGINS HERE > # the default backend; one of GTK GTKAgg GTKCairo FltkAgg QtAgg TkAgg > # WX WXAgg Agg Cairo GD GDK Paint PS PDF SVG Template > backend : TkAgg > numerix : numpy # numpy, Numeric

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

2008-02-20 Thread Werner F. Bruhin
Hi, [EMAIL PROTECTED] wrote: > 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 py

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

2008-02-20 Thread Werner F. Bruhin
Hi, [EMAIL PROTECTED] wrote: > I *finally* got this to work!!! > > Thanks to Werner's message, I found the culpit: the > matplotlibrc file copied to the dist directory > contains the TkAgg backend. All I had to do is to > change *that* file to say: > > backend : WXAgg > > Note that it's n

[Matplotlib-users] http://matplotlib.sourceforge.net/users_guide_0.87.1.pdf

2006-07-06 Thread Werner F. Bruhin
I tried multiple times to download the above and/or to just view it with Adobe 7 but it looks like the file is corrupted. Can anyone confirm this or is the problem on my side? Werner Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integ

Re: [Matplotlib-users] http://matplotlib.sourceforge.net/users_guide_0.87.1.pdf

2006-07-06 Thread Werner F. Bruhin
Just tried again using GetRight download manager and did manage to download it. Just FYI, GetRight reported multiple disconnects due to busy server, but as it allows to resume this was not a problem. Werner Werner F. Bruhin wrote: > I tried multiple times to download the above and/or to j

[Matplotlib-users] wxmsw26uh_vc.dll and matplotlib 0.87

2006-07-06 Thread Werner F. Bruhin
Trying to py2exe the application I get an error no such file "wxmsw26uh_vc.dll". I am on: # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] # wxPython 2.6.3.2, Boa Constructor 0.4.4 Part of the changes I made inludes trying out numpy 0.8.9. What is this dll for and where s

Re: [Matplotlib-users] wxmsw26uh_vc.dll and matplotlib 0.87

2006-07-06 Thread Werner F. Bruhin
Werner F. Bruhin wrote: > Trying to py2exe the application I get an error no such file > "wxmsw26uh_vc.dll". > > I am on: > # Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] > # wxPython 2.6.3.2, Boa Constructor 0.4.4 > > Part of the

  1   2   >