I've seen the below
But I'm not a fan because 1) it uses pyplot instead of my figure, and 2) it only does the primary axis or the secondary axis depending on calling order (probably can do both if I call it before and after
How does zorder magic work? I have some lines (zorder 2) on the primary axis (zorder 0.1), and a polycollection (zorder 1) on the secondary axis (zorder 0); my primary axis has gridlines. If I set those gridlines (ax.yaxis.get_gridlines()) to zorder 0.1 they are still on top of my poly; do I have to set some other attribute?