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

Skip to content

Commit 8e77575

Browse files
committed
DOC: fix xrefs
1 parent d0f9342 commit 8e77575

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/next_api_changes/behavior/19438-TAC.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
``plt.subplot`` re-selection without keyword arguments
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
The purpose of `pyplot.subplot` is to facilitate creating and
4+
The purpose of `.pyplot.subplot` is to facilitate creating and
55
re-selecting Axes in a Figure when working in the implicit pyplot API.
66
When used to create Axes it is possible to select the projection
77
(e.g. polar, 3D, or various cartographic projections) as well as to pass
88
additional keyword arguments through to the Axes-subclass that is created.
99

10-
The first time `pyplot.subplot` is called for a given position in the
10+
The first time `.pyplot.subplot` is called for a given position in the
1111
Axes grid it is clear that the correct behavior is to create and
1212
return an Axes at the given position with the passed arguments
1313
(defaulting to a rectilinear Axes). However, on subsequent calls to
14-
`pyplot.subplot` the correct behavior is more subtle. If an Axes exists
14+
`.pyplot.subplot` the correct behavior is more subtle. If an Axes exists
1515
at the requested location and has equivalent parameters the existing Axes
1616
should be returned, but if the parameters are different the old Axes is removed
1717
from the Figure and a new Axes is created and returned.
@@ -24,7 +24,7 @@ if the projections were different. Thus ::
2424
ax1 is plt.subplots(1, 1, 1)
2525

2626
We are embracing this long standing behavior and in the case when no keyword
27-
arguments are passed to `pyplot.subplot` and there is an existing Axes
27+
arguments are passed to `.pyplot.subplot` and there is an existing Axes
2828
at the grid position, the existing Axes is returned without consideration
2929
of the keywords used to create the Axes.
3030

@@ -37,7 +37,7 @@ would return the existing Axes. Now this will replace the existing Axes
3737
with a new rectilinear Axes. To get the previous behavior, do not pass
3838
*projection*.
3939

40-
Previously Axes3D could not be re-selected with `pyplot.subplot` due
40+
Previously Axes3D could not be re-selected with `.pyplot.subplot` due
4141
to an unrelated bug. While Axes3D are now consistent with all other projections
4242
there is a change in behavior for ::
4343

0 commit comments

Comments
 (0)