Skip to content

Commit

Permalink
fix(yahoo#13,doc): code to plot workflow diagram in intro
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Sep 29, 2019
1 parent e70718b commit 26cc7a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Here's a Python script with an example GraphKit computation graph that produces
# Prints "{'a_minus_ab': -8}".
print(out)

# Plot workflow diagram in a matplotlib window (`graphviz` in the path needed)
graph.net.plot(show=True)


As you can see, any function can be used as an operation in GraphKit, even ones imported from system modules!

License
Expand Down

0 comments on commit 26cc7a7

Please sign in to comment.