Skip to content

Commit bb8e374

Browse files
cmp0xffrcomer
andcommitted
Apply suggestions from code review
- #29325 (comment) - #29325 (comment) - #29325 (comment) Co-authored-by: Ruth Comer <10599679+rcomer@users.noreply.github.com>
1 parent 18589f3 commit bb8e374

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4615,8 +4615,12 @@ def twinx(self, axes_class=None, **kwargs):
46154615
46164616
By default, `~.axes.Axes` is used.
46174617
4618+
.. versionadded:: 3.11
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`.
4622+
4623+
.. versionadded:: 3.11
46204624
46214625
Returns
46224626
-------
@@ -4660,8 +4664,12 @@ def twiny(self, axes_class=None, **kwargs):
46604664
46614665
By default, `~.axes.Axes` is used.
46624666
4667+
.. versionadded:: 3.11
4668+
46634669
kwargs : dict
4664-
The keyword arguments passed to ``add_subplot()`` or ``add_axes()``.
4670+
The keyword arguments passed to `.Figure.add_subplot` or `.Figure.add_axes`.
4671+
4672+
.. versionadded:: 3.11
46654673
46664674
Returns
46674675
-------

0 commit comments

Comments
 (0)