diff options
author | Prabhu Ramachandran | 2010-06-28 01:37:42 -0500 |
---|---|---|
committer | Prabhu Ramachandran | 2010-06-28 01:37:42 -0500 |
commit | 224efafd4edaa5497d7a85ed94518ce393ae2396 (patch) | |
tree | c5a1894d4421121c9b6d33c08d31c388bb98420d | |
parent | d8e192b5a8e28a8069b1d19489dd7ae964ebba63 (diff) | |
download | workshops-224efafd4edaa5497d7a85ed94518ce393ae2396.tar.gz workshops-224efafd4edaa5497d7a85ed94518ce393ae2396.tar.bz2 workshops-224efafd4edaa5497d7a85ed94518ce393ae2396.zip |
Minor changes to session1.
--HG--
branch : scipy2010
-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} |