How to import flowchart from diagrams in Python #829
-
I am trying to import flowchart but its giving error in Jupyter Notebook. Can anyone please help if I am doing in wrong way. from diagrams import Diagram with Diagram("First BPMN Diag") as diag: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is the error coming : For other modules , its working fine. Pls help. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Your code works as-is for me when run from a Jupyter notebook.
It looks like you might have a version issue. Try updating diagrams.
You could add
show=False
to theDiagram
parameters. This way it will not try to open an external viewer.e.g.: