> > On Wed, Nov 11, 2009 at 7:12 PM, Andrew Straw <straw...@astraw.com> wrote: > >> > I had a patch waiting in the wings for that, but I wanted to see the dust >> > settle before committing it. I think the dust is officially settled, so >> > please commit yours or else I'll commit mine. >> > >> > > Please go ahead. > Will do.
>> By the way, I just encountered some zorder issue with the new patch. >> The thing is, zorder=1 for Images seems to high. >> For example, patches also have zorders=1. So, if I draw an image, and >> add some patches (which I often do to indicate regions of interests), >> the patches are drawn before images and become invisible. This happens >> because images are appended to dsu list after all other artists. >> >> > > The other thing I noticed by quickly going through axes.py is that > when _axisbelow==True, the zorders of xaxis and yaxis is set to 0.5, > which is lower than images. While the doc say > > *axisbelow* draw the grids and ticks below the other > artists > > I don't think one wants to draw axis (grid+ticks) even below images. > > Well, there should be a few ways to fix this, but how others think > about reducing the Image's zorder to 0? I'm fine with the default Image's zorder at 0 -- I'm explicitly setting it for the cases I'm interested in anyway, and I think that would give better consistency with the old way. Also, I think this is better and more explicit than just inserting them at the beginning of the dsu list and relying on a stable sort to keep them drawn below various patches, which is how I interpreted your meaning for that approach. I'll check in this change, too. -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