fix the bug with type error.

pull/1084/head
hongzhen 9 months ago
parent 164a2d0865
commit ed097b1dfb

@ -82,7 +82,7 @@ class Diagram:
filename: str = "", filename: str = "",
direction: str = "LR", direction: str = "LR",
curvestyle: str = "ortho", curvestyle: str = "ortho",
outformat: Union[str, list[str]] = "png", outformat: Union[str, List[str]] = "png",
autolabel: bool = False, autolabel: bool = False,
show: bool = True, show: bool = True,
strict: bool = False, strict: bool = False,

Loading…
Cancel
Save