Skip to content

Commit

Permalink
Update README.md; add adapted win10 example for graphviz interface v0…
Browse files Browse the repository at this point in the history
….18+

Update README.md; 
Add adapted win10 example for graphviz interface v0.18+ .

Signed-off-by: Tyrion <[email protected]>
  • Loading branch information
Tyrion authored and parrt committed Jun 1, 2023
1 parent 683cd48 commit a0e85a0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,18 @@ print( stderr )

If you are having issues with run command you can try copying the following files from: https://github.com/xflr6/graphviz/tree/master/graphviz.

Place them in the AppData\Local\Continuum\anaconda3\Lib\site-packages\graphviz folder.
Place them in the AppData\Local\Continuum\anaconda3\Lib\site-packages\graphviz folder.

Clean out the __pycache__ directory too.

For graphviz windows install 8.0.5 and python interface v0.18+ :
```python
import graphviz.backend as be
cmd = ["dot", "-V"]
stdout = be.execute.run_check(cmd, capture_output=True, check=True, quiet=False)
print( stdout )
```

Jupyter Lab and Jupyter notebook both show the inline .svg images well.

### Verify graphviz installation
Expand Down

0 comments on commit a0e85a0

Please sign in to comment.