diff --git a/diagrams/__init__.py b/diagrams/__init__.py index 5031c7dc..7b6d2461 100644 --- a/diagrams/__init__.py +++ b/diagrams/__init__.py @@ -82,7 +82,7 @@ class Diagram: 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,