Re: [matplotlib-devel] Error building docs from the source

2009-11-09 Thread Michael Droettboom
I can't reproduce this here. These sorts of CXX errors are usually caused by distutils not rebuilding enough when things change. Can you try removing the build directory, rebuilding matplotlib, and then rebuilding the docs? Mike On 11/07/2009 12:10 PM, Gökhan Sever wrote: Hello, The

Re: [matplotlib-devel] Error building docs from the source

2009-11-09 Thread Gökhan Sever
You are right. The error disappeared after re-building the matploblib. Thanks for pointing out this. On Mon, Nov 9, 2009 at 8:41 AM, Michael Droettboom md...@stsci.edu wrote: I can't reproduce this here. These sorts of CXX errors are usually caused by distutils not rebuilding enough when

[matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Andrew Straw
Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is whether I should apply the attached patch. The worry is that someone is

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Gael Varoquaux
On Mon, Nov 09, 2009 at 08:21:30AM -0800, Andrew Straw wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Eric Firing
Andrew Straw wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is whether I should apply the attached patch.

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Eric Firing
Jae-Joon Lee wrote: Andrew, One of my worry is that this can results in inconsistent ouputs between backends. Your patch only affects backends with compositing capabilities. And backends such as ps backend will still render images at the bottom of all other artists. PS backend already does

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 10:21 AM, Andrew Straw straw...@astraw.com wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g. http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 ) The question is

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Jae-Joon Lee
On Mon, Nov 9, 2009 at 1:01 PM, John Hunter jdh2...@gmail.com wrote: Your patch is only applied when len(images)=1 or renderer.option_image_nocomposite(), both of which will be False when using Agg with multiple images, no? I believe renderer.option_image_nocomposite() is True for the agg

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Andrew Straw
John Hunter wrote: On Mon, Nov 9, 2009 at 10:21 AM, Andrew Straw straw...@astraw.com wrote: Hi All, I have addressed what I think is a long-standing wart: zorder is mostly ignored for imshow(). (See e.g.

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 12:12 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Nov 9, 2009 at 1:01 PM, John Hunter jdh2...@gmail.com wrote: Your patch is only applied when len(images)=1 or renderer.option_image_nocomposite(), both of which will be False when using Agg with multiple images,

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 12:16 PM, Andrew Straw straw...@astraw.com wrote: So now the question for me is what is this option_image_nocomposite is so that I can generalize the patch to both when it's True and False. From the The compositing is in support of things like

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Jae-Joon Lee
On Mon, Nov 9, 2009 at 12:44 PM, Eric Firing efir...@hawaii.edu wrote: PS backend already does things differently from others because it doesn't handle alpha, correct?  Does the patch make this situation any worse? When there are multiple Images and render.option_image_nocomposite() is false

[matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread Leonid Petrov
Hi, matplotlibers, I tried to compile matplotlib0.99.1.1 against Python-2.6.4, numpy-1.3.0, libpng-1.2.40, freetype-2.3.11 with the following command: python setup.py install --prefix=/opt64 comp.log I got building 'matplotlib.backends._macosx' extension /opt64/bin/gcc

Re: [matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 1:29 PM, Leonid Petrov m...@lpetrov.net wrote: Hi, matplotlibers,  I tried to compile matplotlib0.99.1.1 against Python-2.6.4, numpy-1.3.0, libpng-1.2.40, freetype-2.3.11 with the following command: python setup.py install --prefix=/opt64 comp.log  I got building

Re: [matplotlib-devel] Enhancement to matplotlib's PyQt4 backend

2009-11-09 Thread Gökhan Sever
Darren, Have you happened to review Pierre's patch for the toolbar improvement? I am interested to see this integrated in mpl soon. Thanks. On Mon, Nov 9, 2009 at 2:43 PM, Pierre Raybaut cont...@pythonxy.com wrote: Hi, I've already sent everything to Darren. I don't have any news but I

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Andrew Straw
Jae-Joon Lee wrote: On Mon, Nov 9, 2009 at 12:44 PM, Eric Firing efir...@hawaii.edu wrote: PS backend already does things differently from others because it doesn't handle alpha, correct? Does the patch make this situation any worse? When there are multiple Images and

Re: [matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread Leonid Petrov
Hi, John, I got mpl from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.1.tar.gz/download /d1/incoming md5sum matplotlib-0.99.1.1.tar.gz bd0894dd924eb5bec84c42d26041a544 matplotlib-0.99.1.1.tar.gz I removed source code of matplotlib-0.99.1.1

Re: [matplotlib-devel] Failed build: src/_macosx.m:1:25: error: Cocoa/Cocoa.h: No such file or directory

2009-11-09 Thread John Hunter
On Mon, Nov 9, 2009 at 3:08 PM, Leonid Petrov m...@lpetrov.net wrote: Hi, John,  I got mpl from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.1.tar.gz/download /d1/incoming md5sum matplotlib-0.99.1.1.tar.gz bd0894dd924eb5bec84c42d26041a544  

Re: [matplotlib-devel] imshow zorder (patch for review)

2009-11-09 Thread Jae-Joon Lee
On Mon, Nov 9, 2009 at 3:55 PM, Andrew Straw straw...@astraw.com wrote: What's the motivation of the ps backend compositing (rasterizing to a single bitmap) multiple images? It seems it will, by design, preclude the use of non-image artists between two images. I guess the motivation is to