I've just started transitioning over from MATLAB to python and I'm moving from matlab2tikz to tikzplotlib (same author).
The tikzplotlib script doesn't appear to be defining the the custom colours it is using, so although a tikz plot might be correctly created:
...
...
\addplot [color0]
coordinates {
(0, 1)
(1, 2)
};
color0 isn't being defined. Is this just a fundamental problem with the tikzplotlib code (this seems unlikely!)?
EDIT: color0 IS defined the first time i run tikzplotlib - I then have to 'kill the current process' and restart the console (I'm using Spyder IDE) to successfully run tikzplotlib again.
I get the impression that I am making some fundamental mistake that could well have nothing to do with tikzplotlib.