Feature request: extraCode option as in matlab2tikz
andrew-d-king opened this issue · comments
In matlab2tikz
there is an option 'extraCode'
which allows the insertion of text at the end of the preamble in a standalone file, i.e., immediately before \begin{document}
. This is very useful for including packages and things like that. I think this would be useful in tikzplotlib
. I don't see a way to do it, but maybe I'm missing something.
There is get_tikz_code()
for you to get the figure code; you can just build your document around it and write that to a file.