Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86cc4fd

Browse files
authored
Merge pull request matplotlib#44 from JrtPec/patch-1
Switch order of rows, cols. Fix issue matplotlib#39
2 parents c6d9c27 + 6ab96df commit 86cc4fd

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)