axis elements and zorder

Hi all,

I have a question about zorder and Axis elements. I read in the thread titled "zorder not working for grid lines??" that since grid lines are Axis elements, they don't respect the zorder. It's possible to set grid lines below other plot elements with Axis.set_axisbelow(). However, I have a case where I want grid lines to be below my plot elements, but I want the ticks to be above them (test code attached). As it stands, they can be either both below or both above.

Has anyone found a way around this limitation? Is having zorder apply to Axis elements on the wishlist?

Thanks for any info,
Mike

axis_zorder_test.py (562 Bytes)