From c1f972504e99dc99ceb9de233cc5a91c22355329 Mon Sep 17 00:00:00 2001 From: sanderwang <25528016+radarFudan@users.noreply.github.com> Date: Mon, 10 Oct 2022 23:26:31 +0800 Subject: [PATCH] Update the beginner tex file for the issue #117 --- handout-beginner.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handout-beginner.tex b/handout-beginner.tex index 1b3087a..690a844 100644 --- a/handout-beginner.tex +++ b/handout-beginner.tex @@ -240,7 +240,7 @@ \subsection*{\rmfamily Organize} % ----------------------------------------------------------------------------- \begin{tabular}{@{}m{.821\linewidth}m{.169\linewidth}} \begin{lstlisting}[belowskip=-\baselineskip] - fig, (ax1, ax2) = plt.subplots((2,1)) + fig, (ax1, ax2) = plt.subplots(2,1) ax1.plot(X, Y1, color="C1") ax2.plot(X, Y2, color="C0") \end{lstlisting} @@ -249,7 +249,7 @@ \subsection*{\rmfamily Organize} % ----------------------------------------------------------------------------- \begin{tabular}{@{}m{.821\linewidth}m{.169\linewidth}} \begin{lstlisting}[belowskip=-\baselineskip] - fig, (ax1, ax2) = plt.subplots((1,2)) + fig, (ax1, ax2) = plt.subplots(1,2) ax1.plot(Y1, X, color="C1") ax2.plot(Y2, X, color="C0") \end{lstlisting}