From 3946a6824da5e6fb864e6092200621b2435972ac Mon Sep 17 00:00:00 2001 From: Cheng Lian Date: Tue, 12 Mar 2024 13:36:23 -0700 Subject: [PATCH] Fix parameter type of outformat --- diagrams/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diagrams/__init__.py b/diagrams/__init__.py index 6fe2a8024..5031c7dc1 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 = "png", + outformat: str | list[str] = "png", autolabel: bool = False, show: bool = True, strict: bool = False,