summaryrefslogtreecommitdiff
path: root/scipy/basic/11_notebook.tex
diff options
context:
space:
mode:
authorPrabhu Ramachandran2021-05-25 14:53:30 +0530
committerPrabhu Ramachandran2021-05-25 14:53:30 +0530
commit7d7861e7e6cd52129c88b3c7eda17c80bdf55da1 (patch)
tree8dd782cde34947634b35226aabcf39ac62a2cdb9 /scipy/basic/11_notebook.tex
parentf39cafb0a6dc214fbc3c3e1af956a2fb3e87a714 (diff)
downloadpython-workshops-7d7861e7e6cd52129c88b3c7eda17c80bdf55da1.tar.gz
python-workshops-7d7861e7e6cd52129c88b3c7eda17c80bdf55da1.tar.bz2
python-workshops-7d7861e7e6cd52129c88b3c7eda17c80bdf55da1.zip
Several minor changes to update content.
Diffstat (limited to 'scipy/basic/11_notebook.tex')
-rw-r--r--scipy/basic/11_notebook.tex21
1 files changed, 11 insertions, 10 deletions
diff --git a/scipy/basic/11_notebook.tex b/scipy/basic/11_notebook.tex
index 4442c9f..634a9c6 100644
--- a/scipy/basic/11_notebook.tex
+++ b/scipy/basic/11_notebook.tex
@@ -158,11 +158,12 @@ Mumbai, India
\end{itemize}
\item Powerful and convenient
\item Must be installed as a package
+ \item Part of anaconda
\end{itemize}
\end{frame}
\begin{frame}
- \frametitle{IPython notebook}
+ \frametitle{Jupyter notebooks}
\begin{itemize}
\item Create and share documents containing
\begin{itemize}
@@ -213,9 +214,9 @@ Console
$ ipython
\end{lstlisting} %$
\vspace*{0.25in}
-The notebook:
+Or perhaps:
\begin{lstlisting}
-$ ipython notebook
+$ ipython --pylab
\end{lstlisting} %$
\end{frame}
@@ -232,10 +233,11 @@ $ jupyter notebook
\end{frame}
\begin{frame}[fragile]
- \frametitle{IPython notebooks and Canopy}
+ \frametitle{Jupyter notebooks and Anaconda}
\begin{itemize}
- \item Can directly open \typ{*.ipynb} files from Canopy
- \item Or create a new notebook using the File menu
+ \item On the terminal
+ \item On the navigator
+ \item Via the menu
\end{itemize}
\end{frame}
@@ -269,20 +271,19 @@ In []: plt.plot(x, sin(x))
\item \typ{\%pylab}: imports pylab
\item \typ{\%matplotlib}: just sets up the plotting, no imports
\item Using explicit imports is cleaner
- \item \typ{pyplot} provides the useful functionality
+ \item \typ{pyplot} provides the functionality
\item Could also just import \typ{pylab}
\end{itemize}
\end{frame}
\begin{frame}[fragile]
- \frametitle{Using the IPython notebook}
+ \frametitle{Using Jupyter notebooks}
\begin{itemize}
\item Start the notebook
\item Try:
\typ{jupyter notebook}
- \item If that doesn't work use \typ{ipython notebook}
- \item Create a new Python 2 or Python 3 notebook
+ \item Create a new Python 3 notebook
\end{itemize}
\end{frame}