@@ -1754,13 +1754,12 @@ def subplots(
17541754 width_ratios = None , height_ratios = None ,
17551755 flush = None , wflush = None , hflush = None ,
17561756 left = None , bottom = None , right = None , top = None ,
1757- tight = None , pad = None , axpad = None , panelpad = None ,
17581757 span = None , spanx = None , spany = None ,
17591758 align = None , alignx = None , aligny = None ,
17601759 share = None , sharex = None , sharey = None ,
17611760 basemap = False , proj = None , projection = None ,
17621761 proj_kw = None , projection_kw = None ,
1763- autoformat = True , includepanels = False ):
1762+ ** kwargs ):
17641763 """
17651764 Analogous to `matplotlib.pyplot.subplots`, creates a figure with a single
17661765 axes or arbitrary grids of axes, any of which can be map projections.
@@ -1915,23 +1914,8 @@ def subplots(
19151914
19161915 Other parameters
19171916 ----------------
1918- tight : bool, optional
1919- Toggles automatic tight layout adjustments. Default is
1920- :rc:`tight`.
1921-
1922- If you manually specify a spacing, it will be used
1923- to override the tight layout spacing -- for example, with ``left=0.1``,
1924- the left margin is set to 0.1 inches wide, while the remaining margin
1925- widths are calculated automatically.
1926- pad, axpad, panelpad : float or str, optional
1927- Padding for automatic tight layout adjustments. See `Figure` for
1928- details.
1929- includepanels : bool, optional
1930- Whether to include panels when calculating the position of certain
1931- spanning labels. See `Figure` for details.
1932- autoformat : bool, optional
1933- Whether to automatically format axes when special datasets are
1934- passed to plotting commands. See `Figure` for details.
1917+ **kwargs
1918+ Passed to `Figure`.
19351919
19361920 Returns
19371921 -------
@@ -2138,11 +2122,11 @@ def subplots(
21382122 wpanels = ['' ] * ncols , hpanels = ['' ] * nrows ,
21392123 )
21402124 fig = plt .figure (
2141- FigureClass = Figure , tight = tight , figsize = figsize , ref = ref ,
2142- pad = pad , axpad = axpad , panelpad = panelpad , autoformat = autoformat ,
2143- includepanels = includepanels ,
2144- subplots_orig_kw = subplots_orig_kw , subplots_kw = subplots_kw ,
2145- gridspec_kw = gridspec_kw )
2125+ FigureClass = Figure , figsize = figsize , ref = ref ,
2126+ gridspec_kw = gridspec_kw , subplots_kw = subplots_kw ,
2127+ subplots_orig_kw = subplots_orig_kw ,
2128+ ** kwargs
2129+ )
21462130 gridspec = fig ._gridspec_main
21472131
21482132 # Draw main subplots
0 commit comments