Skip to content

Commit df2d1d5

Browse files
committed
Reorder args
1 parent 440dd7e commit df2d1d5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proplot/subplots.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,14 +1748,6 @@ def subplots(array=None, ncols=1, nrows=1,
17481748
17491749
Parameters
17501750
----------
1751-
ncols, nrows : int, optional
1752-
Number of columns, rows. Ignored if `array` is not ``None``.
1753-
Use these arguments for simpler subplot grids.
1754-
order : {'C', 'F'}, optional
1755-
Whether subplots are numbered in column-major (``'C'``) or row-major
1756-
(``'F'``) order. Analogous to `numpy.array` ordering. This controls
1757-
the order axes appear in the `axs` list, and the order of subplot
1758-
a-b-c labeling (see `~proplot.axes.Axes.format`).
17591751
array : array-like of int, optional
17601752
2-dimensional array specifying complex grid of subplots. Think of
17611753
this array as a "picture" of your figure. For example, the array
@@ -1766,6 +1758,14 @@ def subplots(array=None, ncols=1, nrows=1,
17661758
``0`` indicates an empty space. For example, ``[[1, 1, 1], [2, 0, 3]]``
17671759
creates one long subplot in the top row with two subplots in the bottom
17681760
row separated by a space.
1761+
ncols, nrows : int, optional
1762+
Number of columns, rows. Ignored if `array` is not ``None``.
1763+
Use these arguments for simpler subplot grids.
1764+
order : {'C', 'F'}, optional
1765+
Whether subplots are numbered in column-major (``'C'``) or row-major
1766+
(``'F'``) order. Analogous to `numpy.array` ordering. This controls
1767+
the order axes appear in the `axs` list, and the order of subplot
1768+
a-b-c labeling (see `~proplot.axes.Axes.format`).
17691769
figsize : length-2 tuple, optional
17701770
Tuple specifying the figure `(width, height)`.
17711771
width, height : float or str, optional

0 commit comments

Comments
 (0)