Skip to content

Commit c925279

Browse files
committed
labels can be Iterable[str]
1 parent 7bd6399 commit c925279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/util/_doctools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import Sequence
3+
from typing import Iterable
44

55
import numpy as np
66

@@ -43,7 +43,7 @@ def _get_cells(self, left, right, vertical) -> tuple[int, int]:
4343
hcells = sum([self._shape(df)[1] for df in left] + [self._shape(right)[1]])
4444
return hcells, vcells
4545

46-
def plot(self, left, right, labels: Sequence[str] = (), vertical: bool = True):
46+
def plot(self, left, right, labels: Iterable[str] = (), vertical: bool = True):
4747
"""
4848
Plot left / right DataFrames in specified layout.
4949

0 commit comments

Comments
 (0)