162162
163163
164164# Inset docstring
165+ # NOTE: Used by SubplotGrid.inset_axes
165166_inset_docstring = """
166- Return an inset `CartesianAxes`. This is similar to the builtin
167- `~ matplotlib.axes.Axes.inset_axes` but includes some extra options .
167+ Add an inset axes.
168+ This is similar to ` matplotlib.axes.Axes.inset_axes`.
168169
169170Parameters
170171----------
187188zoom_kw : dict, optional
188189 Passed to `~Axes.indicate_inset_zoom`.
189190
191+ Returns
192+ -------
193+ proplot.axes.Axes
194+ The inset axes.
195+
190196Other parameters
191197----------------
192198**kwargs
196202
197203
198204# Panel docstring
205+ # NOTE: Used by SubplotGrid.panel_axes
199206_panel_loc_docstring = """
200207 ========== =====================
201208 Location Valid keys
207214 ========== =====================
208215"""
209216_panel_docstring = """
210- Return a panel drawn along the edge of this axes.
217+ Add a panel along the edge of the axes.
211218
212219Parameters
213220----------
235242
236243Returns
237244-------
238- `~ proplot.axes.CartesianAxes`
245+ proplot.axes.CartesianAxes
239246 The panel axes.
240247"""
241248docstring ._snippet_manager ['axes.panel_loc' ] = _panel_loc_docstring
320327figtitle
321328 Alias for `suptitle`.
322329suptitle : str, optional
323- The figure "super" title, centered between the left edge of
324- the lefmost column of subplots and the right edge of the rightmost
325- column of subplots, and automatically offset above figure titles.
326- This is an improvement on matplotlib's "super" title, which just
327- centers the text between figure edges.
330+ The figure "super" title, centered between the left edge of the lefmost
331+ column of subplots and the right edge of the rightmost column of subplots, and
332+ automatically offset above figure titles. This is an improvement on matplotlib's
333+ "super" title, which just centers the text between figure edges.
328334suptitlepad : float, optional
329335 The padding between the super title and the axes content in arbitrary
330336 units (default is points). Default is :rcraw:`suptitle.pad`.
@@ -1315,9 +1321,8 @@ def format(
13151321 ** kwargs
13161322 ):
13171323 """
1318- Modify the axes title(s), the a-b-c label, row and column labels, and
1319- the figure title. Called by the `~proplot.axes.CartesianAxes`,
1320- `~proplot.axes.PolarAxes`, and `~proplot.axes.GeoAxes` ``format`` methods.
1324+ Format the a-b-c label, axes title(s), and background
1325+ patch, and call `proplot.figure.Figure.format`.
13211326
13221327 Parameters
13231328 ----------
@@ -1330,20 +1335,20 @@ def format(
13301335
13311336 Important
13321337 ---------
1333- The `abc`, `abcstyle`, `abcloc`, `titleloc`, `titleabove`, `titlepad`,
1334- `abctitlepad`, `leftlabelpad`, `toplabelpad`, `rightlabelpad`, and
1335- `bottomlabelpad` keywords are :ref:`configuration settings <ug_config>`.
1336- We explicitly document these arguments here because it is very common to change
1337- them. But many :ref:`other configuration settings <ug_format>` can be passed
1338- to ``format`` too.
1338+ `abc`, `abcstyle`, `abcloc`, `titleloc`, `titleabove`, `titlepad`, and
1339+ `abctitlepad` are actually :ref:`configuration settings <ug_config>`.
1340+ We explicitly document these arguments here because it is common to
1341+ change them for specific axes. But many :ref:`other configuration
1342+ settings <ug_format>` can be passed to ``format`` too.
13391343
13401344 See also
13411345 --------
1342- proplot.config.Configurator.context
13431346 proplot.axes.CartesianAxes.format
13441347 proplot.axes.PolarAxes.format
13451348 proplot.axes.GeoAxes.format
13461349 proplot.figure.Figure.format
1350+ proplot.gridspec.SubplotGrid.format
1351+ proplot.config.Configurator.context
13471352 """
13481353 skip_figure = kwargs .pop ('skip_figure' , False ) # internal keyword arg
13491354 rc_kw , rc_mode , kwargs = _parse_format (** kwargs )
@@ -1493,9 +1498,10 @@ def inset_axes(
14931498
14941499 def indicate_inset_zoom (self , ** kwargs ):
14951500 """
1496- Draw lines indicating the zoom range of the inset axes. This is similar
1497- to the builtin `~matplotlib.axes.Axes.indicate_inset_zoom` except
1498- lines are *refreshed* at draw-time. This is also called automatically
1501+ Draw lines indicating the zoom range of the inset axes. Must be
1502+ called from the inset axes rather than the parent axes. This is
1503+ similar to `matplotlib.axes.Axes.indicate_inset_zoom` except line
1504+ positions are refreshed at drawtime. This is called automatically
14991505 when ``zoom=True`` is passed to `~Axes.inset_axes`.
15001506
15011507 Parameters
@@ -1508,7 +1514,7 @@ def indicate_inset_zoom(self, **kwargs):
15081514 The line style for the zoom lines and box outline.
15091515 ec, edgecolor : color-spec, optional
15101516 The color of the zoom lines and box outline.
1511- capstyle : {'butt', 'round', 'projecting'}
1517+ cs, capstyle : {'butt', 'round', 'projecting'}
15121518 The cap style for the zoom lines and box outline.
15131519 zorder : float, optional
15141520 The `zorder <https://matplotlib.org/stable/gallery/misc/zorder_demo.html>`__
0 commit comments