Skip to content

Commit 6ab96df

Browse files
authored
Switch order of rows, cols. Fix issue #39
closes #39
1 parent c6d9c27 commit 6ab96df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cheatsheets.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,11 @@
292292
% --- Layout ---------------------------------------------------------------
293293
\begin{myboxed}{Subplots layout \hfill
294294
\API{https://matplotlib.org/tutorials/intermediate/gridspec.html} }
295-
\plot{layout-subplot.pdf}{\textbf{subplot[s]}(cols,rows,…)}
295+
\plot{layout-subplot.pdf}{\textbf{subplot[s]}(rows,cols,…)}
296296
{https://matplotlib.org/api/_as_gen/matplotlib.pyplot.subplots.html}
297297
{\ttfamily fig, axs = plt.subplots(3,3)}
298298
{}
299-
\plot{layout-gridspec.pdf}{G = \textbf{gridspec}(cols,rows,…)}
299+
\plot{layout-gridspec.pdf}{G = \textbf{gridspec}(rows,cols,…)}
300300
{https://matplotlib.org/api/_as_gen/matplotlib.gridspec.GridSpec.html}
301301
{\ttfamily ax = G[0,:]}{}
302302
\plot{layout-inset.pdf}{ax.\textbf{inset\_axes}(extent)}

0 commit comments

Comments
 (0)