diff options
Diffstat (limited to 'day1')
-rw-r--r-- | day1/session1.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/day1/session1.tex b/day1/session1.tex index c463f47..50aa6f9 100644 --- a/day1/session1.tex +++ b/day1/session1.tex @@ -259,9 +259,9 @@ Exiting %% \end{block} %% \end{frame} -\section{Loops} +\section{Breaking out of loops} \begin{frame}[fragile] -\frametitle{Loops} +\frametitle{Breaking out of Loops} Breaking out of loops \begin{lstlisting} In []: while True: @@ -515,6 +515,7 @@ In []: annotate('local max', xy=(1.5, 1)) \begin{lstlisting} In []: xmin, xmax = xlim() In []: ymin, ymax = ylim() +In []: print xmin, xmax \end{lstlisting} \emphbar{Set the axes limits} \begin{lstlisting} |