Skip to content
Snippets Groups Projects
Commit 9c2da1f7 authored by Michael Kohlhase's avatar Michael Kohlhase
Browse files

copied over from Alex

parent 56a26ec0
No related branches found
No related tags found
No related merge requests found
\documentclass[border = 120pt]{standalone}
\usepackage[landscape]{geometry}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\usepackage{metalogo}
\usepackage{dtklogos}
\begin{document}
\begin{tikzpicture}
\draw[-] (-9,5) -- (-1,5) node[pos=.5,sloped,above] {Active documents with the machine};
%Mother Ship
\draw[fill=blue!10] (-8,0) rectangle (-10, 3);
\draw[style=thick, fill=cyan] (-9.75, 2) rectangle (-8.25, 2.5);
%Jupyter Box
\draw[style=dashed, fill=white] (-9, 1.9) rectangle (-8.35, 0.5);
\draw[fill=cyan] (-8.9, 1.8) rectangle (-8.45, 1.6);
\draw[fill=cyan] (-8.9, 1.55) rectangle (-8.45, 1.35);
\draw[fill=cyan] (-8.9, 1.3) rectangle (-8.45, 1.1);
\draw[fill=cyan] (-8.9, 1.05) rectangle (-8.45, 0.85);
\draw[fill=cyan] (-8.9, 0.8) rectangle (-8.45, 0.6);
% First machine
\path[draw, fill=blue!10] (-5, -0.5) -- (-5, 1.5) -- (-5.45, 1.5) -- (-5, 1.75) -- (-5, 3.5) -- (-4.75, 3.5) -- (-5.25, 4) -- (-3.75, 4) --(-4.25, 3.5) -- (-4, 3.5) -- (-4, -0.5) -- cycle;
// Nodes
\tikzstyle{every node} = [circle]
\node[fill=cyan] (a) at (0, 0) { };
\node[fill=cyan] (b) at (2, 0) { };
\node[fill=cyan] (c) at (2, 2) { };
\node[fill=cyan] (d) at (0, 2) { };
\node[fill=cyan] (e) at (1, 1) { };
\foreach \from/\to in {a/b, b/c, c/d, a/d, a/e, e/b, c/e, d/e}
\draw [-] (\from) -- (\to);
\end{tikzpicture}
\end{document}
\documentclass[border = 120pt]{standalone}
\usepackage[landscape]{geometry}
\usepackage{tikz}
\usetikzlibrary{mindmap}
\usepackage{metalogo}
\usepackage{dtklogos}
\begin{document}
\begin{tikzpicture}
\draw[-] (-9,5) -- (-1,5) node[pos=.5,sloped,above] {Jupyter - Sketch with Active Documents};
%Mother Ship
%\draw[fill=blue!10] (-8,0) rectangle (-10, 3);
%\draw[style=thick, fill=cyan] (-9.75, 2) rectangle (-8.25, 2.5);
%Jupyter Box
\draw[fill=white] (-10, 4.1) rectangle (-8, 0);
\draw[fill=cyan] (-9.75, 3.8) rectangle (-8.25, 3.3);
\draw[fill=cyan] (-9.75, 3.05) rectangle (-8.25, 2.55);
\draw[fill=cyan] (-9.75, 2.3) rectangle (-8.25, 1.8);
\draw[fill=cyan] (-9.75, 1.55) rectangle (-8.25, 1.05);
\draw[fill=cyan] (-9.75, 0.8) rectangle (-8.25, 0.3);
% Second machine
\path[draw, fill=blue!10] (-5, -0.5) -- (-5, 1.5) -- (-5, 3.5) -- (-4.75, 3.5) -- (-6, 4) -- (0, 4) --(-1.25, 3.5) -- (-1, 3.5) -- (-1, 1.75) -- (-0.55, 1.5) -- (-1, 1.5) -- (-1, -0.5) -- cycle;
// Nodes
\tikzstyle{every node} = [circle]
\node[fill=cyan] (a) at (-4, 0.5) { };
\node[fill=cyan] (b) at (-2, 0.5) { };
\node[fill=cyan] (c) at (-2, 2.5) { };
\node[fill=cyan] (d) at (-4, 2.5) { };
\node[fill=cyan] (e) at (-3, 1.5) { };
\foreach \from/\to in {a/b, b/c, c/d, a/d, a/e, e/b, c/e, d/e}
\draw [-] (\from) -- (\to);
\end{tikzpicture}
\end{document}
\begin{todo}{MK: make citations from these}
\begin{enumerate}
\item
Links concerning Jupyter literature:
\item Link 1: \url {http://www.jupyter.org/}
\item Link 2: \url {http://jupyter-notebook-beginner-guide.readthedocs.org/en/latest/what_is_jupyter.html}
\item Link 3: \url {http://jupyter-notebook.readthedocs.org/en/latest/notebook.html#notebook-documents}
\item Link 4: \url {https://github.com/jupyter}
\item Link 5: \url {http://jupyter.cs.brynmawr.edu/hub/dblank/public/Jupyter%20Notebook%20Users%20Manual.ipynb}
\item Link 6: \url {http://www.svds.com/jupyter-notebook-best-practices-for-data-science/}
\item Link 7: \url {https://en.wikipedia.org/wiki/IPython}
\end{enumerate}
\end{todo}
\section{About Jupyter}
\subsection{Introduction}
The notebook extends the console-based approach to interactive computing in a
qualitatively new direction, providing a web-based application suitable for capturing the
whole computation process: developing, documenting, and executing code, as well as
communicating the results. The Jupyter notebook combines two components:
\begin{enumerate}
\item A web application: a browser-based tool for interactive authoring of documents which combine explanatory text, mathematics, computations and their rich media output. \\
\item Notebook documents: a representation of all content visible in the web application, including inputs and outputs of the computations, explanatory text, mathematics, images, and rich media representations of objects.
\end{enumerate}
\ednote{AM: How much in detail should I go?}
\ednote{AM: Notebook user interface - relevant?}
\subsection{How to use it.}
\subsubsection{Starting the notebook server}
You can start running a notebook server from the command line using the following command:
\lstinline|jupyter notebook|
This will print some information about the notebook server in your console, and open a web browser to the URL of the web application (by default, \url{http://127.0.0.1:8888}
The landing page of the Jupyter notebook web application, the dashboard, shows the
notebooks currently available in the notebook directory (by default, the directory from
which the notebook server was started).
When starting a notebook server from the command line, you can also open a particular
notebook directly, bypassing the dashboard, with
\begin{lstlisting}
$ jupyter : notebook : my : notebook.ipynb
\end{lstlisting}%$
In this case, the extension \lstinline|.ipynb| is automatically added if no other one is
specified.
When you are inside an open notebook, the File | Open... menu option will open the
dashboard in a new browser tab, to allow you to open another notebook from the notebook
directory or to create a new notebook.
\subsubsection{Creating a new notebook document}
A new notebook may be created at any time, either from the dashboard, or using the File ‣
New menu option from within an active notebook. The new notebook is created within the
same directory and will open in a new browser tab. It will also be reflected as a new
entry in the notebook list on the dashboard.
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "report"
%%% End:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment