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 80e3ba9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ Here's a Python script with an example GraphKit computation graph that produces

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

As a debug aid, you may plot the workflow with this code::

graph.net.plot(show=True)

> NOTE: `graphviz` must be in your PATH and `matplotlib` installed.
> You may install both when installing *graphkit* with its `plot` extras::
>
> pip install graphkit[plot]


License
-------

Expand Down

0 comments on commit 80e3ba9

Please sign in to comment.