There are two panes of axes, with a small (in gray) inside a large (white).
In the following code, I expect the blue line to be on the top panel of the gray little axis, because the blue line is set to ridiculously high zorder. But this is not so.
Changing the zorderpatch of a small panel is not affected.
If I set the background of the small panel to transparent (or make it invisible), then the blue line will be unlocked, but this solution is not satisfactory, as there may be situations in which it is REQUIRED that the background of the small panel be opaque.
Or maybe such a requirement is not achievable in a simple way, if the implementation of the string zordermakes sense only within the same axes?
f = figure()
ax1 = f.add_axes([0.1,0.1,0.8,0.8], zorder=1)
ax2 = f.add_axes([0.3,0.2,0.5,0.4], zorder=2)
ax2.patch.set_facecolor('gray')
ax2.patch.set_zorder(-9999999)
ax1.plot([0,1], [0,1], zorder=99999999, color='blue')
ax2.plot([0,1], [0,3], zorder=-99999, color='red')
ax1.patch.set_facecolor('green')
