Open 93749b3a-c0a4-47a7-b178-004ba08b0b97 opened 15 years ago
I'd just like to add that this bothers me too. I once tried to fix it and got confused and gave up.
I disagree. If you do not specify the z-order then there is no good way of automatically figuring out what to do. Amongst the multitude of possible behaviours you could even argue that G1.plot() + G2.plot() and G2.plot() + G1.plot() should be the same as addition is commutative.
Just do G1.plot(zorder=0) + G2.plot(zorder=1) or vice versa if you care about the z-ordering.
I recommend to close this bug.
Let G1 and G2 be arbitrary graphs. G1.plot() + G2.plot() and G2.plot() + G1.plot() (notice the ordering) look the same for me, ie I cannot make one graph appear above the other. What seems to happen is that the vertices are brought forward in the zorder, but it appears that this is done globally, not locally for the individual plot. I claim this is a bug.
CC: @sagetrac-ekirkman @rlmill @kcrisman
Component: graphics
Keywords: graph plot z order overlay
Issue created by migration from https://trac.sagemath.org/ticket/6249