Skip to content

Commit

Permalink
changed type to iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
aGuyLearning committed Dec 13, 2024
1 parent 88e18a7 commit 613be89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ehrapy/plot/_survival_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ehrapy.plot import scatter

if TYPE_CHECKING:
from collections.abc import Sequence
from collections.abc import Iterable, Sequence
from xmlrpc.client import Boolean

from anndata import AnnData
Expand Down Expand Up @@ -304,7 +304,7 @@ def kaplan_meier(
def cox_ph_forestplot(
cox_ph: CoxPHFitter,
*,
labels: list[str] | None = None,
labels: Iterable[str] | None = None,
fig_size: tuple = (10, 10),
t_adjuster: float = 0.1,
ecolor: str = "dimgray",
Expand Down

0 comments on commit 613be89

Please sign in to comment.