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
currently I struggle to export a matplotlib (v3.1.0) plot with tikzplotlib (v0.8.2) to tikz. I made simple example of a plot with two rectangles with different colors and a colorbar. The resulting tikz plot doesn't show both rectangles and additional the colorbar and its ticks are missing.
Because I also stumbled over missing rectangles, I had a quick look through the code, but basically the comment of @eric-wieser contains everything necessary for a quick hack. So until it is fixed elsewhere, a hacky workaround is possible by giving your rectangle the _nolegend_ label. So you would have to call
Hi,
currently I struggle to export a matplotlib (v3.1.0) plot with tikzplotlib (v0.8.2) to tikz. I made simple example of a plot with two rectangles with different colors and a colorbar. The resulting tikz plot doesn't show both rectangles and additional the colorbar and its ticks are missing.
python code
output tex
here it's already visible that the two rectangles and colorbox are missing
expected pgfplot
let me know if I can help somehow!
The text was updated successfully, but these errors were encountered: