@@ -1576,27 +1576,27 @@ def subplots(self, nrows=1, ncols=1, sharex=False, sharey=False,
1576
1576
# Returned axis array will be always 2-d, even if nrows=ncols=1.
1577
1577
return axarr
1578
1578
1579
- def build_grid (self , layout , subplot_kw = None , gridspec_kw = None ):
1580
- """
1581
- Builds a layout based on an grid of strings
1579
+ def build_grid (self , layout , * , subplot_kw = None , gridspec_kw = None ):
1580
+ """Build a layout based on an grid of strings.
1582
1581
1583
- This is a helper function to build complex GridSpec layouts visually
1582
+ This is a helper function to build complex GridSpec layouts visually.
1584
1583
1585
1584
Parameters
1586
1585
----------
1587
1586
layout : list of list of str
1588
- A visual layout of how you want your Axes to be arranged labeled as strings.
1589
- For example ::
1587
+
1588
+ A visual layout of how you want your Axes to be arranged
1589
+ labeled as strings. For example ::
1590
1590
1591
1591
x = [['A', 'A', 'B'],
1592
1592
['C', 'D', 'B']]
1593
1593
1594
1594
Produces 4 axes:
1595
1595
1596
- - 'A' which is 1 row high and spans the first two columns
1597
- - 'B' which is 2 rows high and is on the right edge
1598
- - 'C' which in 1 row and 1 column wide in the bottom left
1599
- - 'D' which in 1 row and 1 column wide in the bottom center
1596
+ - 'A' which is 1 row high and spans the first two columns
1597
+ - 'B' which is 2 rows high and is on the right edge
1598
+ - 'C' which in 1 row and 1 column wide in the bottom left
1599
+ - 'D' which in 1 row and 1 column wide in the bottom center
1600
1600
1601
1601
subplot_kw : dict, optional
1602
1602
Dict with keywords passed to the
0 commit comments