diff --git a/diagrams/__init__.py b/diagrams/__init__.py index 5031c7dc1..7b6d24618 100644 --- a/diagrams/__init__.py +++ b/diagrams/__init__.py @@ -82,7 +82,7 @@ def __init__( filename: str = "", direction: str = "LR", curvestyle: str = "ortho", - outformat: str | list[str] = "png", + outformat: Union[str, list[str]] = "png", autolabel: bool = False, show: bool = True, strict: bool = False,