You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`vis.dual_axis_lines`](#visdual_axis_lines) : double y axis line plots
301
302
-[`vis.graph`](#visgraph) : network graphs
302
303
@@ -696,6 +697,27 @@ The following `opts` are supported:
696
697
-`opts.opacity`: opacity of polygons (`number` between 0 and 1)
697
698
-`opts.layoutopts` : `dict` of any additional options that the graph backend accepts for a layout. For example `layoutopts = {'plotly': {'legend': {'x':0, 'y':0}}}`.
698
699
700
+
#### vis.sankey
701
+
This function draws a Sankey (flow) diagram. Flows are defined by three
702
+
equal-length arrays:
703
+
704
+
-`source`: source node index of each link (`N` array of ints)
705
+
-`target`: target node index of each link (`N` array of ints)
706
+
-`value` : magnitude of each link (`N` array of non-negative numbers)
707
+
708
+
`labels` is an optional list of node names. If omitted, nodes are referenced
709
+
by their index alone.
710
+
711
+
The following `opts` are supported:
712
+
713
+
-`opts.labels` : list of node labels (alternative to the `labels` arg)
714
+
-`opts.pad` : node padding in px (`number`; default = 15)
715
+
-`opts.thickness` : node thickness in px (`number`; default = 20)
716
+
-`opts.orientation`: `'h'` (default) or `'v'`
717
+
-`opts.nodecolor` : node color(s) (`string` or list of strings)
718
+
-`opts.linkcolor` : link color(s) (`string` or list of strings)
719
+
-`opts.layoutopts` : `dict` of any additional options that the graph backend accepts for a layout.
720
+
699
721
#### vis.dual_axis_lines
700
722
This function will create a line plot using plotly with different Y-Axis.
0 commit comments