>>>>> "Michael" == Michael Fitzgerald <[EMAIL PROTECTED]> writes:
Michael> Hi all, Michael> I have a question about zorder and Axis elements. I read Michael> in the thread titled "zorder not working for grid Michael> lines??" that since grid lines are Axis elements, they Michael> don't respect the zorder. It's possible to set grid Michael> lines below other plot elements with Michael> Axis.set_axisbelow(). However, I have a case where I Michael> want grid lines to be below my plot elements, but I want Michael> the ticks to be above them (test code attached). As it Michael> stands, they can be either both below or both above. Michael> Has anyone found a way around this limitation? Is having Michael> zorder apply to Axis elements on the wishlist? It would be a cleaner solution if the grid and ticks respected the zorder property, but it's not trivial to do it that way given the current design. Instead, as you've noticed, you need to set the axisbelow property on the axes ax.set_axisbelow(True) but this doesn't solve your problem of needing the ticks above and grid below.... You might try setting both above, but setting the alpha on the grid so you can at least see through it. Yes, fixing this is on the list of things to do, but doing it right would requires a significant refactoring of the way ticks are handled. JDH ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users