[Matplotlib-users] How to build mpl with MinGW for Python 2.4?

2007-02-01 Thread Nicolas Grilly
Hello, I'm trying to build matplotlib from SVN, with MinGW (current version), for Python 2.4 (the binary comes from ActiveState) under Windows XP. I've tried to follow instructions in setupext.py but I always get the same error when trying to import mpl: The procedure entry point _ctype could

[Matplotlib-users] Help needed: Rendering of multiple text labels is very slow.

2007-02-01 Thread Joel Hedlund
Hi! I'm using matplotlib and pygtk to write a viewer for multiple sequence alignments. (Big matrices (~100x1000) of characters, usually colored by cell according to chemical properties). Now I've run into trouble since the rendering of the actual characters is very slow. I have included a sma

Re: [Matplotlib-users] freezing matplotlib

2007-02-01 Thread Emmanuel Favre-Nicolin
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 examples. Do you have any > suggest

Re: [Matplotlib-users] Bug: Image transparency varies periodically for imshow(img, aspect='auto') at high magnification

2007-02-01 Thread Joel Hedlund
> I think that it was also connected with very slow rendering. I second that. Rendering is very slow when this occurs. A workaround is to slice the image and just plot the visible pixels, and then to use the 'extent' keyword argument to position the slice on the axis, e.g: imagesc(img[a:b,ymin:y

Re: [Matplotlib-users] Bug: Image transparency varies periodically for imshow(img, aspect='auto') at high magnification

2007-02-01 Thread Eric Firing
Darren Dale wrote: > Hi Joel, > > On Thursday 01 February 2007 11:09:11 am Joel Hedlund wrote: >> I believe I've found a bug in matplotlib which manifests after >> imshow(img, aspect='auto') when only a small portion of the image is >> displayed, e.g: when (xmax-xmin) << img.shape[1]. The effect o

[Matplotlib-users] imshow(), set_data() and sequential update problem with two figures

2007-02-01 Thread Daniel Wheeler
Hi, I am having some difficulties understanding the following matplotlib behavior. The script below draws two plots and then updates each one with new data. The imshow() command is used to set the initial data. The data is then updated with the set_data() method of the return object from im

Re: [Matplotlib-users] Bug: Image transparency varies periodically for imshow(img, aspect='auto') at high magnification

2007-02-01 Thread Darren Dale
Hi Joel, On Thursday 01 February 2007 11:09:11 am Joel Hedlund wrote: > I believe I've found a bug in matplotlib which manifests after > imshow(img, aspect='auto') when only a small portion of the image is > displayed, e.g: when (xmax-xmin) << img.shape[1]. The effect of the bug > is that the tran

[Matplotlib-users] Bug: Image transparency varies periodically for imshow(img, aspect='auto') at high magnification

2007-02-01 Thread Joel Hedlund
Hi! I believe I've found a bug in matplotlib which manifests after imshow(img, aspect='auto') when only a small portion of the image is displayed, e.g: when (xmax-xmin) << img.shape[1]. The effect of the bug is that the transparency for the entire image seems to vary, seemingly as a periodic

[Matplotlib-users] Wrong colorbar-ticks in imshow-colorbar with 10 colors

2007-02-01 Thread Claas Teichmann
Hi all, I want to use imshow to plot an array of floats using interpolation='nearest' so that every gridbox has a distinct color. Also I want to limit the number of colors to a rather small number, e.g. 10. The problem is that the tick labels are not at the edge of each color in the colorbar, but

Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Lionel Roubeyrie
Hi Derek, I forgot to mention: you can pass throught your problem by using a masked array instead of a simple array, and it should work fine, the 'default' parameter is here to fill missing value by -1.e20, then these directions will be dropped if your speed_classes not include that missing valu

Re: [Matplotlib-users] windrose 0.5

2007-02-01 Thread Derek Hohls
Lionel I have encountered a problem with windrose. In some cases, one or more of the wind direction values are null [''] - the program then fails on line 200: values = select( [greater_equal( direction, wind_classes[i] )],[speed], default=-1.e20 ) Is it possible for you to upgrade the program