Skip to content

Commit

Permalink
tweak example
Browse files Browse the repository at this point in the history
  • Loading branch information
wspr committed Apr 2, 2024
1 parent 81ec4aa commit cdd7035
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,16 +273,17 @@ sky.sankey(data,

## Edges

Lines around the edges of the nodes and/or flows can be specified as follows.
Lines around the edges of the nodes and/or flows, and their linewidths (`lw`) can be specified as follows.
```
sky.sankey(data3,
node_width = 0.1,
node_alpha = 0.6,
flow_alpha = 0.3,
node_edge = True,
flow_edge = True,
node_lw = 2,
flow_lw = 1,
# just for better visuals in this case:
node_width = 0.1,
node_alpha = 0.6,
flow_alpha = 0.3,
)
```
![Image with options](frame3_edge.png)
Expand Down

0 comments on commit cdd7035

Please sign in to comment.