Recently I couldn't use anymore tikz (circuitikz) in sagemath, I had to come back to a fresh xenial and look back to tikz. In fact it does work well again, i think it's because python' s version. And the cherry on the cake : Just use %install_ext http://raw.github.com/jrjohansson/ipython-circuitikz/master/circuitikz.py or like i did, get his git on your local home and change the address of the circuitikz.py to adjust to your path (this is mine : %install_ext /home/pi/ipy/circuitikz.py) :
%%circuitikz filename=rlc dpi=150 \begin{tikzpicture} \draw[step=0.5,very thin,black!20] (-1,-0.5) grid (6,2.5); \path (0,0) coordinate (ref_gnd); \draw (ref_gnd) to[american voltage source=\(V\)] ++(0,2) to[R=\(R_1\)] ++(3,0) to[L=\(L_1\)] ++(3,0) to[C=\(C_1\)] ++(0,-2) -- (ref_gnd); \end{tikzpicture} <https://lh3.googleusercontent.com/--dYQW37ZA80/WjoplV0r2XI/AAAAAAAAAVA/Tzcp60ZGoOUX7_otZO51fiB1u9dXr4dBwCLcBGAs/s1600/rlc.png> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.