@@ -1580,7 +1580,7 @@ def subplot_mosaic(
1580
1580
gridspec_kw : dict [str , Any ] | None = None ,
1581
1581
per_subplot_kw : dict [Any , dict [str , Any ]] | None = None ,
1582
1582
** fig_kw
1583
- ) -> tuple [Figure , dict [Any , Axes ]]:
1583
+ ) -> tuple [Figure , dict [Any , matplotlib . axes . Axes ]]:
1584
1584
"""
1585
1585
Build a layout of Axes based on ASCII art or nested lists.
1586
1586
@@ -1744,7 +1744,7 @@ def subplot2grid(
1744
1744
return fig .add_subplot (subplotspec , ** kwargs )
1745
1745
1746
1746
1747
- def twinx (ax : Axes | None = None ) -> _AxesBase :
1747
+ def twinx (ax : matplotlib . axes . Axes | None = None ) -> _AxesBase :
1748
1748
"""
1749
1749
Make and return a second axes that shares the *x*-axis. The new axes will
1750
1750
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:
1760
1760
return ax1
1761
1761
1762
1762
1763
- def twiny (ax : Axes | None = None ) -> _AxesBase :
1763
+ def twiny (ax : matplotlib . axes . Axes | None = None ) -> _AxesBase :
1764
1764
"""
1765
1765
Make and return a second axes that shares the *y*-axis. The new axes will
1766
1766
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]:
2219
2219
@_copy_docstring_and_deprecators (Figure .colorbar )
2220
2220
def colorbar (
2221
2221
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 ,
2224
2224
** kwargs
2225
2225
) -> Colorbar :
2226
2226
if mappable is None :
0 commit comments