From 8e831cf3476e0aae2480d3d1af53bafe4a5dd178 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 28 Jun 2010 01:37:42 -0500 Subject: Minor changes to session1. --HG-- branch : scipy2010 --- day1/session1.tex | 5 +++-- 1 file 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} -- cgit