Open Harry1993 opened 4 years ago
For my own reference: There's this question on stackoverflow. The reply is not very satisfying though.
I just wrote Christian (the author of pgfplots), so let's see if we're getting proper zorder in pgfplots anytime soon.
Hello,
I want to reproduce the
zorder
effects as here. The Python code is pasted as follows:The LaTeX code:
The expected result is
but tikzplotlib gave me
where dots are on top of lines in both subplots.
It turns out that the TikZ library does provide layering, therefore we can do a little fine-tuning on the generated
.tikz
file at this moment, but I think it could be better that tikzplotlib can do this for us in the future.Thank you, Yanmao