@@ -567,7 +567,7 @@ def _panels_kwargs(side,
567567 default = rc ['subplots.panelwidth' ]
568568 share = _notNone (share , (not filled ))
569569 width = units (_notNone (width , default ))
570- space = _notNone (space , units (rc ['subplots.' + ('panel' if share
570+ space = _notNone (units ( space ) , units (rc ['subplots.' + ('panel' if share
571571 and not figure
572572 else 'xlab' if s == 'b' else 'ylab' if s == 'l'
573573 else 'inner' if figure else 'panel' ) + 'space' ]))
@@ -1827,14 +1827,6 @@ def subplots(array=None, ncols=1, nrows=1,
18271827
18281828 Parameters
18291829 ----------
1830- ncols, nrows : int, optional
1831- Number of columns, rows. Ignored if `array` is not ``None``.
1832- Use these arguments for simpler subplot grids.
1833- order : {'C', 'F'}, optional
1834- Whether subplots are numbered in column-major (``'C'``) or row-major
1835- (``'F'``) order. Analogous to `numpy.array` ordering. This controls
1836- the order axes appear in the `axs` list, and the order of subplot
1837- a-b-c labeling (see `~proplot.axes.Axes.format`).
18381830 array : array-like of int, optional
18391831 2-dimensional array specifying complex grid of subplots. Think of
18401832 this array as a "picture" of your figure. For example, the array
@@ -1845,6 +1837,14 @@ def subplots(array=None, ncols=1, nrows=1,
18451837 ``0`` indicates an empty space. For example, ``[[1, 1, 1], [2, 0, 3]]``
18461838 creates one long subplot in the top row with two subplots in the bottom
18471839 row separated by a space.
1840+ ncols, nrows : int, optional
1841+ Number of columns, rows. Ignored if `array` is not ``None``.
1842+ Use these arguments for simpler subplot grids.
1843+ order : {'C', 'F'}, optional
1844+ Whether subplots are numbered in column-major (``'C'``) or row-major
1845+ (``'F'``) order. Analogous to `numpy.array` ordering. This controls
1846+ the order axes appear in the `axs` list, and the order of subplot
1847+ a-b-c labeling (see `~proplot.axes.Axes.format`).
18481848 figsize : length-2 tuple, optional
18491849 Tuple specifying the figure `(width, height)`.
18501850 width, height : float or str, optional
0 commit comments