@@ -160,15 +160,15 @@ \subsection*{\rmfamily Choose}
160160\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
161161\ begin{lstlisting} [belowskip=-\baselineskip]
162162 X = np.arange(5)
163- Y = np.random.uniform(0,1, 5)
163+ Y = np.random.uniform(0, 1, 5)
164164 ax.errorbar(X, Y, Y/4)
165165\end {lstlisting }
166166& \raisebox {-0.75em}{\includegraphics [width=\linewidth ]{advanced-errorbar.pdf}}
167167\end {tabular }
168168% -----------------------------------------------------------------------------
169169\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
170170\ begin{lstlisting} [belowskip=-\baselineskip]
171- Z = np.random.normal(0,1, (100,3))
171+ Z = np.random.normal(0, 1, (100,3))
172172
173173 ax.boxplot(Z)
174174\end {lstlisting }
@@ -186,7 +186,7 @@ \subsection*{\rmfamily Tweak}
186186% -----------------------------------------------------------------------------
187187\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
188188\ begin{lstlisting} [belowskip=-\baselineskip]
189- X = np.linspace(0,10,100)
189+ X = np.linspace(0, 10, 100)
190190 Y = np.sin(X)
191191 ax.plot(X, Y, color="black")
192192\end {lstlisting }
@@ -195,7 +195,7 @@ \subsection*{\rmfamily Tweak}
195195% -----------------------------------------------------------------------------
196196\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
197197\ begin{lstlisting} [belowskip=-\baselineskip]
198- X = np.linspace(0,10,100)
198+ X = np.linspace(0, 10, 100)
199199 Y = np.sin(X)
200200 ax.plot(X, Y, linestyle="--")
201201\end {lstlisting }
@@ -204,7 +204,7 @@ \subsection*{\rmfamily Tweak}
204204% -----------------------------------------------------------------------------
205205\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
206206\ begin{lstlisting} [belowskip=-\baselineskip]
207- X = np.linspace(0,10,100)
207+ X = np.linspace(0, 10, 100)
208208 Y = np.sin(X)
209209 ax.plot(X, Y, linewidth=5)
210210\end {lstlisting }
@@ -213,7 +213,7 @@ \subsection*{\rmfamily Tweak}
213213% -----------------------------------------------------------------------------
214214\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
215215\ begin{lstlisting} [belowskip=-\baselineskip]
216- X = np.linspace(0,10,100)
216+ X = np.linspace(0, 10, 100)
217217 Y = np.sin(X)
218218 ax.plot(X, Y, marker="o")
219219\end {lstlisting }
@@ -231,7 +231,7 @@ \subsection*{\rmfamily Organize}
231231% -----------------------------------------------------------------------------
232232\begin {tabular }{@{}m{.821\linewidth }m{.169\linewidth }}
233233\ begin{lstlisting} [belowskip=-\baselineskip]
234- X = np.linspace(0,10,100)
234+ X = np.linspace(0, 10, 100)
235235 Y1, Y2 = np.sin(X), np.cos(X)
236236 ax.plot(X, Y1, Y2)
237237\end {lstlisting }
0 commit comments