I want to to produce a pdf-picture used in another document. Despite the usage of the standalone package, the image has a lot of white space on the left side.
MWE:
\documentclass[crop]{standalone}
\usepackage{tikz}
\usepackage{pythontex}
\begin{pycode}
a=17
\end{pycode}
\begin{document}
\begin{tikzpicture}
\node (node1) at (2,1) {1};
\node at (0,0) {\py{a}};
\end{tikzpicture}
\end{document}
