Skip to content

Commit 1237406

Browse files
authored
TYP: fix type annotation in _has_externally_shared_axis (#46914)
1 parent 875d489 commit 1237406

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/plotting/_matplotlib/tools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,13 +328,13 @@ def _remove_labels_from_axis(axis: Axis):
328328
axis.get_label().set_visible(False)
329329

330330

331-
def _has_externally_shared_axis(ax1: matplotlib.axes, compare_axis: str) -> bool:
331+
def _has_externally_shared_axis(ax1: Axes, compare_axis: str) -> bool:
332332
"""
333333
Return whether an axis is externally shared.
334334
335335
Parameters
336336
----------
337-
ax1 : matplotlib.axes
337+
ax1 : matplotlib.axes.Axes
338338
Axis to query.
339339
compare_axis : str
340340
`"x"` or `"y"` according to whether the X-axis or Y-axis is being

0 commit comments

Comments
 (0)