call_latex_tikzpictureยง
[1]:
%load_ext magic_call.latex
[2]:
%%call_latex_tikzpicture
\node { Hello! };
[3]:
%%call_latex_preamble
\usetikzlibrary{graphs}
[4]:
%%call_latex_tikzpicture
\graph{ A -> B -> C };
[5]:
%%call_latex_preamble
\tikzgraphsset{nodes=draw}
TODO: reset without restarting the kernel?
--clear and/or --overwrite?
[6]:
%%call_latex_tikzpicture
\graph{ A -> B -> C };