Skip to content

Commit 883f049

Browse files
cmp0xffrcomer
andcommitted
Apply suggestions from code review matplotlib#29325 (comment) matplotlib#29325 (comment)
Co-authored-by: Ruth Comer <[email protected]>
1 parent 18589f3 commit 883f049

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4615,8 +4615,10 @@ def twinx(self, axes_class=None, **kwargs):
46154615
46164616
By default, `~.axes.Axes` is used.
46174617
4618+
.. versionadded:: 3.10
4619+
46184620
kwargs : dict
4619-
The keyword arguments passed to ``add_subplot()`` or ``add_axes()``.
4621+
The keyword arguments passed to `.Figure.add_subplot` or `.Figure.add_axes`.
46204622
46214623
Returns
46224624
-------
@@ -4660,8 +4662,10 @@ def twiny(self, axes_class=None, **kwargs):
46604662
46614663
By default, `~.axes.Axes` is used.
46624664
4665+
.. versionadded:: 3.10
4666+
46634667
kwargs : dict
4664-
The keyword arguments passed to ``add_subplot()`` or ``add_axes()``.
4668+
The keyword arguments passed to `.Figure.add_subplot` or `.Figure.add_axes`.
46654669
46664670
Returns
46674671
-------

0 commit comments

Comments
 (0)