Skip to content

Commit e63efa0

Browse files
committed
annotation
1 parent 56def6f commit e63efa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/plotting/_matplotlib/timeseries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def maybe_convert_index(ax: Axes, data: NDFrameT) -> NDFrameT:
307307
# Patch methods for subplot.
308308

309309

310-
def _format_coord(freq, t, y) -> str:
310+
def _format_coord(freq: BaseOffset, t, y) -> str:
311311
time_period = Period(ordinal=int(t), freq=freq)
312312
return f"t = {time_period} y = {y:8f}"
313313

0 commit comments

Comments
 (0)