Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ quench_data.DAT
env-fork
*SIG_TF.json
!tests/integration/data/large_tokamak_SIG_TF.json
*.html
!documentation/**/*.html
Binary file added documentation/images/plotly_sankey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions documentation/usage/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,21 @@ python process/io/plot_radial_build.py -f path/to/MFILE.DAT
<figcaption>Figure 12: Simple radial build plot </figcaption>
</figure>

---------------

### Interactive Sankey diagram

`plot_plotly_sankey` is to plot an interactive `.html` Sankey diagram for looking at the plants power balance. It can be run as follows:

```bash
python process/io/plot_plotly_sankey.py -m path/to/MFILE.DAT
```

<figure markdown>
![plotly_sankey_plot](../images/plotly_sankey.png){ width="100%"}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes reference to an image that does not exist

<figcaption>Figure 13: Interactive HTML Sankey diagram </figcaption>
</figure>




Loading