From ed097b1dfbb096932497531e06353bffe2ec165e Mon Sep 17 00:00:00 2001 From: hongzhen Date: Fri, 20 Dec 2024 18:00:47 +0800 Subject: [PATCH] fix the bug with type error. --- diagrams/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagrams/__init__.py b/diagrams/__init__.py index 8625cd5d..1869d423 100644 --- a/diagrams/__init__.py +++ b/diagrams/__init__.py @@ -82,7 +82,7 @@ class Diagram: filename: str = "", direction: str = "LR", curvestyle: str = "ortho", - outformat: Union[str, list[str]] = "png", + outformat: Union[str, List[str]] = "png", autolabel: bool = False, show: bool = True, strict: bool = False,