I'm writing type annotations for some functions and I couldn't find the best way to annotate an argument which is expected to be of type matplotlib.axes._axes.Axes.
I'm not even sure if I'm doing the right thing for an argument expected to be of type pandas.core.frame.DataFrame.
def myfunc(
df: pd.DataFrame, # is this correct?
ax: matplotlib.axes._axes.Axes # do I have to use this?
) -> None:
# body of my function
Some insights?
Thanks.