Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5dde94

Browse files
committed
DOC
1 parent a54c47f commit c5dde94

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

doc/api/prev_api_changes/api_changes_2.1.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ a previous axes instance currently reuses the earlier instance. This
329329
behavior has been deprecated in Matplotlib 2.1. In a future version, a
330330
*new* instance will always be created and returned. Meanwhile, in such
331331
a situation, a deprecation warning is raised by
332-
:class:`~matplotlib.figure.AxesStack`.
332+
``~matplotlib.figure.AxesStack``.
333333

334334
This warning can be suppressed, and the future behavior ensured, by passing
335335
a *unique* label to each axes instance. See the docstring of

examples/subplots_axes_and_figures/subpanels.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
:doc:`nested gridspecs</gallery/subplots_axes_and_figures/gridspec_nested>`,
99
but having a virtual figure with its own artists is helpful, so
1010
Matplotlib also has "subpanels", accessed by calling
11-
`matplotlib.figure.PanelBase.add_subpanel` in a way that is analagous to
12-
`matplotlib.figure.PanelBase.add_subplot`, or `figure.PanelBase.subpanels` to
13-
make an array of subpanels. Note that subpanels can also have their own child
14-
subpanels.
11+
`matplotlib.figure.Figure.add_subpanel` in a way that is analagous to
12+
`matplotlib.figure.Figure.add_subplot`, or `matplotlib.figure.Figure.subpanels`
13+
to make an array of subpanels. Note that subpanels can also have their own
14+
child subpanels.
1515
1616
.. note::
1717
``subpanel`` is new in v3.4, and the API is still provisional.

lib/mpl_toolkits/axes_grid1/colorbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
*fraction* 0.15; fraction of original axes to use for colorbar
4646
*pad* Defaults to 0.05 if vertical, 0.15 if horizontal; fraction
4747
of original axes between colorbar and new image axes.
48-
Defaults to 0.05 for both if `.get_constrained_layout`
49-
is *True*.
48+
Defaults to 0.05 for both if
49+
`.Figure.get_constrained_layout` is *True*.
5050
*shrink* 1.0; fraction by which to shrink the colorbar
5151
*aspect* 20; ratio of long to short dimensions
5252
============= ====================================================

tutorials/advanced/transforms_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
| | |(1, 1) is top right of the axes. |
3131
+----------------+-----------------------------+-----------------------------------+
3232
|"subpanel" |``subpanel.transPanel`` |The coordinate system of the |
33-
| | |`.Subpanel`; (0, 0) is bottom left |
33+
| | |`.SubPanel`; (0, 0) is bottom left |
3434
| | |of the subpanel, and (1, 1) is top |
3535
| | |right of the subpanel. If a |
3636
| | |figure has no subpanels, this is |

0 commit comments

Comments
 (0)