Closed
Description
Bug summary
plt.axes
should return Axes
and not matplotlib.axes.Axes
Code for reproduction
@_docstring.dedent_interpd
def axes(
arg: None | tuple[float, float, float, float] = None,
**kwargs
) -> matplotlib.axes.Axes: #axes is not a known member of module 'matplotlib' #type of axes is unknown #type of Axes is unknown
Actual outcome
Same as above
Expected outcome
@_docstring.dedent_interpd
def axes(
arg: None | tuple[float, float, float, float] = None,
**kwargs
) -> Axes:
Additional information
No response
Operating system
No response
Matplotlib Version
3.8.3
Matplotlib Backend
No response
Python version
3.12
Jupyter version
No response
Installation
pip