You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think tikzplotlib is not working properly when you hide the tick marks (but not the labels) in your plot. If the ticks are hidden by using e.g. plt.rcParams.update({'xtick.bottom': False}), the ticks and tick labels are hidden in the resulting pgfplot.
Hi, (and thanks for an awesome package!)
I think tikzplotlib is not working properly when you hide the tick marks (but not the labels) in your plot. If the ticks are hidden by using e.g.
plt.rcParams.update({'xtick.bottom': False})
, the ticks and tick labels are hidden in the resulting pgfplot.My Python code (the README example modified):
I get a nice figure with the bottom (x-axis) ticks removed (cf. the figure in the README):
But, when I typeset that with PdfLaTeX also the tick labels disappear:
The error is in the axis section of the pgf code:
Correct pgf code would use
draw=none
for the xtick style (see Manual for Package pgfplots, section 4.7.5):The text was updated successfully, but these errors were encountered: