How can I access a float variable defined via \pgfmathsetmacro from pythontex?
Something like:
\documentclass{article}
\usepackage[gobble=auto]{pythontex}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\pgfmathsetmacro{\a}{1.7}
\begin{pycode}
a = \getvar{\a}
\end{pycode}
\end{tikzpicture}
\end{document}