File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import datetime
4
4
from collections .abc import Callable , Iterable , Iterator , Sequence
5
5
from matplotlib import cbook
6
6
from matplotlib .artist import Artist
7
+ from matplotlib .axes import Axes
7
8
from matplotlib .axis import XAxis , YAxis , Tick
8
9
from matplotlib .backend_bases import RendererBase , MouseButton , MouseEvent
9
10
from matplotlib .cbook import CallbackRegistry
@@ -384,8 +385,8 @@ class _AxesBase(martist.Artist):
384
385
bbox_extra_artists : Sequence [Artist ] | None = ...,
385
386
for_layout_only : bool = ...
386
387
) -> Bbox | None : ...
387
- def twinx (self ) -> _AxesBase : ...
388
- def twiny (self ) -> _AxesBase : ...
388
+ def twinx (self ) -> Axes : ...
389
+ def twiny (self ) -> Axes : ...
389
390
def get_shared_x_axes (self ) -> cbook .GrouperView : ...
390
391
def get_shared_y_axes (self ) -> cbook .GrouperView : ...
391
392
def label_outer (self , remove_inner_ticks : bool = ...) -> None : ...
You can’t perform that action at this time.
0 commit comments