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. >> http://old.nabble.com/Re%3A--Matplotlib-users--imshow-zorder-tt19047314.html#a19047314 >> ) The question is whether I should apply the attached patch. >> > > Will this help with the OP's original "wart", which was the inability > to add multiple images and move one to the top with zorder. 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? > OK, sorry I linked to a motivating example that actually wasn't exactly the same as the use case I have -- I want a single image to play well with other artists' zorder. This patch does handle that scenario. I simply was too quick choosing this example out of the email history to justify the patch.
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 emails here, (my only knowledge on it so far) it seems it has something to do with the capabilities of the renderer rather than a run-time option selected by the user. I'll dig a little deeper into this option and see if my patch can deal with other cases, too. Stay tuned... -Andrew ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel