tikzplotlib
tikzplotlib copied to clipboard
legend with markerevery not showing properly
I'm using version 0.10.1 of tikzplotlib and noticed this issue in the legend when working with the markerevery option. The legend is apparently made of three points and will thus only show properly if the markerevery option requires a marker on the second point.
The PGF solution is to include this in the axis command of the pgf file: legend image post style={mark indices={}}
, as described here.
Python code, the output TeX (Pgfplots), and the expected TeX (Pgfplots) are attached: exampleMarkerevery.zip
Nonworking result:
Working result: