@@ -1580,7 +1580,7 @@ def subplot_mosaic(
15801580 gridspec_kw : dict [str , Any ] | None = None ,
15811581 per_subplot_kw : dict [Any , dict [str , Any ]] | None = None ,
15821582 ** fig_kw
1583- ) -> tuple [Figure , dict [Any , Axes ]]:
1583+ ) -> tuple [Figure , dict [Any , matplotlib . axes . Axes ]]:
15841584 """
15851585 Build a layout of Axes based on ASCII art or nested lists.
15861586
@@ -1744,7 +1744,7 @@ def subplot2grid(
17441744 return fig .add_subplot (subplotspec , ** kwargs )
17451745
17461746
1747- def twinx (ax : Axes | None = None ) -> _AxesBase :
1747+ def twinx (ax : matplotlib . axes . Axes | None = None ) -> _AxesBase :
17481748 """
17491749 Make and return a second axes that shares the *x*-axis. The new axes will
17501750 overlay *ax* (or the current axes if *ax* is *None*), and its ticks will be
@@ -1760,7 +1760,7 @@ def twinx(ax: Axes | None = None) -> _AxesBase:
17601760 return ax1
17611761
17621762
1763- def twiny (ax : Axes | None = None ) -> _AxesBase :
1763+ def twiny (ax : matplotlib . axes . Axes | None = None ) -> _AxesBase :
17641764 """
17651765 Make and return a second axes that shares the *y*-axis. The new axes will
17661766 overlay *ax* (or the current axes if *ax* is *None*), and its ticks will be
@@ -2219,8 +2219,8 @@ def _get_pyplot_commands() -> list[str]:
22192219@_copy_docstring_and_deprecators (Figure .colorbar )
22202220def colorbar (
22212221 mappable : ScalarMappable | None = None ,
2222- cax : Axes | None = None ,
2223- ax : Axes | Iterable [Axes ] | None = None ,
2222+ cax : matplotlib . axes . Axes | None = None ,
2223+ ax : matplotlib . axes . Axes | Iterable [matplotlib . axes . Axes ] | None = None ,
22242224 ** kwargs
22252225) -> Colorbar :
22262226 if mappable is None :
0 commit comments