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

Skip to content

Commit 2b39faa

Browse files
committed
DOC
1 parent 03e3f44 commit 2b39faa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/api/next_api_changes/behavior/18356-JMK.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ New `.Axes3D` objects previously added themselves to figures when they were
55
created, which lead to them being added twice if
66
``fig.add_subplot(111, projection='3d')`` was called. Now ``ax = Axes3d(fig)``
77
will need to be explicitly added to the figure with ``fig.add_axes(ax)``, as
8-
also needs to be done for normal `axes.Axes`.
8+
also needs to be done for normal `.axes.Axes`.

examples/subplots_axes_and_figures/subplots_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
# Still there remains an unused empty space between the subplots.
145145
#
146146
# To precisely control the positioning of the subplots, one can explicitly
147-
# create a `.GridSpec` with `Figure.add_gridspec`, and then call its
147+
# create a `.GridSpec` with `.Figure.add_gridspec`, and then call its
148148
# `~.GridSpecBase.subplots` method. For example, we can reduce the height
149149
# between vertical subplots using ``add_gridspec(hspace=0)``.
150150
#

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,8 +1068,8 @@ def subplot(*args, **kwargs):
10681068
"""
10691069
Add a subplot to the current figure.
10701070
1071-
Wrapper of `.Figure.add_subplot` with a difference in behavior
1072-
explained in the notes section.
1071+
Wrapper of `~.matplotlib.figure.Figure.add_subplot` with a difference in
1072+
behavior explained in the notes section.
10731073
10741074
Call signatures::
10751075

0 commit comments

Comments
 (0)