File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 931
931
K: lower center / (.5,1.1) & L: lower left / (.1,1.1)
932
932
\end {tabular }
933
933
\end {myboxed }
934
-
934
+ %
935
+ \vspace {\fill }
936
+ %
937
+ \begin {myboxed }{Annotation connection styles \hfill
938
+ \API {https://matplotlib.org/tutorials/text/annotations.html} }
939
+ \includegraphics [width=\columnwidth ]{annotation-connection-styles.pdf}
940
+ \end {myboxed }
941
+
935
942
\vfill\null \columnbreak
936
943
937
944
%
983
990
\begin {myboxed }{Performance tips}
984
991
\smallskip
985
992
{\ttfamily \fontsize {6pt}{7pt}\selectfont
993
+ %
986
994
\textcolor {red}{scatter(X, Y) \hfill slow}\\
987
- plot(X, Y, marker="o", ls="") \hfill fast\\
988
- \hrule \smallskip
995
+ plot(X, Y, marker="o", ls="") \hfill fast%
996
+ \vskip .5\baselineskip
997
+ %
989
998
\textcolor {red}{for i in range(n): plot(X[i]) \hfill slow}\\
990
- plot(sum([x+[None] for x in X],[])) \hfill fast\\
991
- \hrule \smallskip
999
+ plot(sum([x+[None] for x in X],[])) \hfill fast%
1000
+ \vskip .5\baselineskip
1001
+ %
992
1002
\textcolor {red}{cla(), imshow(…), canvas.draw() \hfill slow}\\
993
- im.set\_ data(…), canvas.draw() \hfill fast\smallskip
1003
+ im.set\_ data(…), canvas.draw() \hfill fast%
1004
+ \vskip .1\baselineskip
994
1005
}
995
1006
\end {myboxed }
996
1007
%
You can’t perform that action at this time.
0 commit comments