\pytx@SVMCR{pytx@MCR@sympy@default@default@1}
\int\limits_{0}^{\infty} e^{- \phi^{2}}\, d\phi\endpytx@SVMCR

\pytx@SVMCR{pytx@MCR@sympy@default@default@2}
\frac{\sqrt{\pi}}{2}\endpytx@SVMCR

\begin{pytx@SaveVerbatim}[commandchars=\\\{\}]{pytx@pycon@default@default@0}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{var} \PYG{o}{=} \PYG{l+m+mi}{1} \PYG{o}{+} \PYG{l+m+mi}{1}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{var}
\PYG{g+go}{2}
\end{pytx@SaveVerbatim}

\begin{pytx@SaveVerbatim}[commandchars=\\\{\}]{pytx@pycon@default@default@1}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{import} \PYG{n+nn}{matplotlib}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{matplotlib}\PYG{o}{.}\PYG{n}{use}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{pgf}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{import} \PYG{n+nn}{numpy} \PYG{k}{as} \PYG{n+nn}{np}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{k+kn}{import} \PYG{n+nn}{matplotlib}\PYG{n+nn}{.}\PYG{n+nn}{pyplot} \PYG{k}{as} \PYG{n+nn}{plt}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{xx} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{random}\PYG{o}{.}\PYG{n}{randn}\PYG{p}{(}\PYG{l+m+mi}{1000}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{xx} \PYG{o}{=} \PYG{n}{np}\PYG{o}{.}\PYG{n}{sort}\PYG{p}{(}\PYG{n}{xx}\PYG{p}{)}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{plt}\PYG{o}{.}\PYG{n}{plot}\PYG{p}{(}\PYG{n}{xx}\PYG{p}{)}
\PYG{g+go}{[\PYGZlt{}matplotlib.lines.Line2D object at 0x7f580c2aa278\PYGZgt{}]}
\PYG{g+gp}{\PYGZgt{}\PYGZgt{}\PYGZgt{} }\PYG{n}{plt}\PYG{o}{.}\PYG{n}{savefig}\PYG{p}{(}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{myplot.pdf}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{,} \PYG{n}{bbox\PYGZus{}inches}\PYG{o}{=}\PYG{l+s+s1}{\PYGZsq{}}\PYG{l+s+s1}{tight}\PYG{l+s+s1}{\PYGZsq{}}\PYG{p}{)}

\makeatletter
\def\PYGbw@reset{\let\PYGbw@it=\relax \let\PYGbw@bf=\relax%
    \let\PYGbw@ul=\relax \let\PYGbw@tc=\relax%
    \let\PYGbw@bc=\relax \let\PYGbw@ff=\relax}
\def\PYGbw@tok#1{\csname PYGbw@tok@#1\endcsname}
\def\PYGbw@toks#1+{\ifx\relax#1\empty\else%
    \PYGbw@tok{#1}\expandafter\PYGbw@toks\fi}
\def\PYGbw@do#1{\PYGbw@bc{\PYGbw@tc{\PYGbw@ul{%
    \PYGbw@it{\PYGbw@bf{\PYGbw@ff{#1}}}}}}}
\def\PYGbw#1#2{\PYGbw@reset\PYGbw@toks#1+\relax+\PYGbw@do{#2}}

\expandafter\def\csname PYGbw@tok@c\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@k\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@ow\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@nc\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@nn\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@ne\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@ni\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@nt\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@s\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@si\endcsname{\let\PYGbw@bf=\textbf\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@se\endcsname{\let\PYGbw@bf=\textbf\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@gh\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@gu\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@ge\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@gs\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@gp\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@err\endcsname{\def\PYGbw@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}
\expandafter\def\csname PYGbw@tok@kc\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@kd\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@kn\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@kr\endcsname{\let\PYGbw@bf=\textbf}
\expandafter\def\csname PYGbw@tok@sa\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sb\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sc\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@dl\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sd\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@s2\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sh\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sx\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@sr\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@s1\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@ss\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@ch\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@cm\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@cpf\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@c1\endcsname{\let\PYGbw@it=\textit}
\expandafter\def\csname PYGbw@tok@cs\endcsname{\let\PYGbw@it=\textit}

\def\PYGbwZbs{\char`\\}
\def\PYGbwZus{\char`\_}
\def\PYGbwZob{\char`\{}
\def\PYGbwZcb{\char`\}}
\def\PYGbwZca{\char`\^}
\def\PYGbwZam{\char`\&}
\def\PYGbwZlt{\char`\<}
\def\PYGbwZgt{\char`\>}
\def\PYGbwZsh{\char`\#}
\def\PYGbwZpc{\char`\%}
\def\PYGbwZdl{\char`\$}
\def\PYGbwZhy{\char`\-}
\def\PYGbwZsq{\char`\'}
\def\PYGbwZdq{\char`\"}
\def\PYGbwZti{\char`\~}
% for compatibility with earlier versions
\def\PYGbwZat{@}
\def\PYGbwZlb{[}
\def\PYGbwZrb{]}
\makeatother

\def\PYGvs@reset{\let\PYGvs@it=\relax \let\PYGvs@bf=\relax%
    \let\PYGvs@ul=\relax \let\PYGvs@tc=\relax%
    \let\PYGvs@bc=\relax \let\PYGvs@ff=\relax}
\def\PYGvs@tok#1{\csname PYGvs@tok@#1\endcsname}
\def\PYGvs@toks#1+{\ifx\relax#1\empty\else%
    \PYGvs@tok{#1}\expandafter\PYGvs@toks\fi}
\def\PYGvs@do#1{\PYGvs@bc{\PYGvs@tc{\PYGvs@ul{%
    \PYGvs@it{\PYGvs@bf{\PYGvs@ff{#1}}}}}}}
\def\PYGvs#1#2{\PYGvs@reset\PYGvs@toks#1+\relax+\PYGvs@do{#2}}

\expandafter\def\csname PYGvs@tok@c\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\expandafter\def\csname PYGvs@tok@cp\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@k\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@ow\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@kt\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.17,0.57,0.69}{##1}}}
\expandafter\def\csname PYGvs@tok@nc\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.17,0.57,0.69}{##1}}}
\expandafter\def\csname PYGvs@tok@s\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@gh\endcsname{\let\PYGvs@bf=\textbf}
\expandafter\def\csname PYGvs@tok@gu\endcsname{\let\PYGvs@bf=\textbf}
\expandafter\def\csname PYGvs@tok@ge\endcsname{\let\PYGvs@it=\textit}
\expandafter\def\csname PYGvs@tok@gs\endcsname{\let\PYGvs@bf=\textbf}
\expandafter\def\csname PYGvs@tok@gp\endcsname{\let\PYGvs@bf=\textbf}
\expandafter\def\csname PYGvs@tok@err\endcsname{\def\PYGvs@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}
\expandafter\def\csname PYGvs@tok@kc\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@kd\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@kn\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@kp\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@kr\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGvs@tok@sa\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sb\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sc\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@dl\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sd\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@s2\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@se\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sh\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@si\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sx\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@sr\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@s1\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@ss\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.64,0.08,0.08}{##1}}}
\expandafter\def\csname PYGvs@tok@ch\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\expandafter\def\csname PYGvs@tok@cm\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\expandafter\def\csname PYGvs@tok@cpf\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\expandafter\def\csname PYGvs@tok@c1\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
\expandafter\def\csname PYGvs@tok@cs\endcsname{\def\PYGvs@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}

\def\PYGvsZbs{\char`\\}
\def\PYGvsZus{\char`\_}
\def\PYGvsZob{\char`\{}
\def\PYGvsZcb{\char`\}}
\def\PYGvsZca{\char`\^}
\def\PYGvsZam{\char`\&}
\def\PYGvsZlt{\char`\<}
\def\PYGvsZgt{\char`\>}
\def\PYGvsZsh{\char`\#}
\def\PYGvsZpc{\char`\%}
\def\PYGvsZdl{\char`\$}
\def\PYGvsZhy{\char`\-}
\def\PYGvsZsq{\char`\'}
\def\PYGvsZdq{\char`\"}
\def\PYGvsZti{\char`\~}
\def\PYGvsZat{@}
\def\PYGvsZlb{[}
\def\PYGvsZrb{]}

\def\PYGrrt@reset{\let\PYGrrt@it=\relax \let\PYGrrt@bf=\relax%
    \let\PYGrrt@ul=\relax \let\PYGrrt@tc=\relax%
    \let\PYGrrt@bc=\relax \let\PYGrrt@ff=\relax}
\def\PYGrrt@tok#1{\csname PYGrrt@tok@#1\endcsname}
\def\PYGrrt@toks#1+{\ifx\relax#1\empty\else%
    \PYGrrt@tok{#1}\expandafter\PYGrrt@toks\fi}
\def\PYGrrt@do#1{\PYGrrt@bc{\PYGrrt@tc{\PYGrrt@ul{%
    \PYGrrt@it{\PYGrrt@bf{\PYGrrt@ff{#1}}}}}}}
\def\PYGrrt#1#2{\PYGrrt@reset\PYGrrt@toks#1+\relax+\PYGrrt@do{#2}}

\expandafter\def\csname PYGrrt@tok@c\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@nf\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@nv\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.87,0.51}{##1}}}
\expandafter\def\csname PYGrrt@tok@no\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.50,1.00,0.83}{##1}}}
\expandafter\def\csname PYGrrt@tok@k\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@cp\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.90,0.90,0.90}{##1}}}
\expandafter\def\csname PYGrrt@tok@s\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@kt\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.51,0.93}{##1}}}
\expandafter\def\csname PYGrrt@tok@kc\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@kd\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@kn\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@kp\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@kr\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@fm\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{1.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@vc\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.87,0.51}{##1}}}
\expandafter\def\csname PYGrrt@tok@vg\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.87,0.51}{##1}}}
\expandafter\def\csname PYGrrt@tok@vi\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.87,0.51}{##1}}}
\expandafter\def\csname PYGrrt@tok@vm\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.93,0.87,0.51}{##1}}}
\expandafter\def\csname PYGrrt@tok@sa\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sb\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sc\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@dl\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sd\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@s2\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@se\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sh\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@si\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sx\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@sr\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@s1\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@ss\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.53,0.81,0.92}{##1}}}
\expandafter\def\csname PYGrrt@tok@ch\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@cm\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@cpf\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@c1\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}
\expandafter\def\csname PYGrrt@tok@cs\endcsname{\def\PYGrrt@tc##1{\textcolor[rgb]{0.00,1.00,0.00}{##1}}}

\def\PYGrrtZbs{\char`\\}
\def\PYGrrtZus{\char`\_}
\def\PYGrrtZob{\char`\{}
\def\PYGrrtZcb{\char`\}}
\def\PYGrrtZca{\char`\^}
\def\PYGrrtZam{\char`\&}
\def\PYGrrtZlt{\char`\<}
\def\PYGrrtZgt{\char`\>}
\def\PYGrrtZsh{\char`\#}
\def\PYGrrtZpc{\char`\%}
\def\PYGrrtZdl{\char`\$}
\def\PYGrrtZhy{\char`\-}
\def\PYGrrtZsq{\char`\'}
\def\PYGrrtZdq{\char`\"}
\def\PYGrrtZti{\char`\~}
\def\PYGrrtZat{@}
\def\PYGrrtZlb{[}
\def\PYGrrtZrb{]}

\def\PYGigor@reset{\let\PYGigor@it=\relax \let\PYGigor@bf=\relax%
    \let\PYGigor@ul=\relax \let\PYGigor@tc=\relax%
    \let\PYGigor@bc=\relax \let\PYGigor@ff=\relax}
\def\PYGigor@tok#1{\csname PYGigor@tok@#1\endcsname}
\def\PYGigor@toks#1+{\ifx\relax#1\empty\else%
    \PYGigor@tok{#1}\expandafter\PYGigor@toks\fi}
\def\PYGigor@do#1{\PYGigor@bc{\PYGigor@tc{\PYGigor@ul{%
    \PYGigor@it{\PYGigor@bf{\PYGigor@ff{#1}}}}}}}
\def\PYGigor#1#2{\PYGigor@reset\PYGigor@toks#1+\relax+\PYGigor@do{#2}}

\expandafter\def\csname PYGigor@tok@c\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@k\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@nf\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.76,0.31,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@nd\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.80,0.00,0.64}{##1}}}
\expandafter\def\csname PYGigor@tok@nc\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.46,0.46}{##1}}}
\expandafter\def\csname PYGigor@tok@s\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kc\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kd\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kn\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kp\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kr\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@kt\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
\expandafter\def\csname PYGigor@tok@fm\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.76,0.31,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sa\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sb\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sc\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@dl\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sd\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@s2\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@se\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sh\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@si\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sx\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@sr\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@s1\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@ss\endcsname{\def\PYGigor@tc##1{\textcolor[rgb]{0.00,0.61,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@ch\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@cm\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@cp\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@cpf\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@c1\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
\expandafter\def\csname PYGigor@tok@cs\endcsname{\let\PYGigor@it=\textit\def\PYGigor@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}

\def\PYGigorZbs{\char`\\}
\def\PYGigorZus{\char`\_}
\def\PYGigorZob{\char`\{}
\def\PYGigorZcb{\char`\}}
\def\PYGigorZca{\char`\^}
\def\PYGigorZam{\char`\&}
\def\PYGigorZlt{\char`\<}
\def\PYGigorZgt{\char`\>}
\def\PYGigorZsh{\char`\#}
\def\PYGigorZpc{\char`\%}
\def\PYGigorZdl{\char`\$}
\def\PYGigorZhy{\char`\-}
\def\PYGigorZsq{\char`\'}
\def\PYGigorZdq{\char`\"}
\def\PYGigorZti{\char`\~}
\def\PYGigorZat{@}
\def\PYGigorZlb{[}
\def\PYGigorZrb{]}

>>> import matplotlib
>>> matplotlib.use('pgf')
>>> import numpy as np
>>> import matplotlib.pyplot as plt
>>> xx = np.random.randn(1000)
>>> xx = np.sort(xx)
>>> plt.plot(xx)
[<matplotlib.lines.Line2D object at 0x7f580c2aa278>]
>>> plt.savefig('myplot.pdf', bbox_inches='tight')