From 9b517c7dd1501270e25a2fdd380551771eed94e1 Mon Sep 17 00:00:00 2001 From: Michael Fore Date: Fri, 9 Oct 2020 11:23:20 -0500 Subject: [PATCH] Update sankey-diagram.md I think this was an error? the third option in source should be A1 if it is by label indices. --- doc/python/sankey-diagram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/sankey-diagram.md b/doc/python/sankey-diagram.md index 5ce928345eb..f91a28982bb 100644 --- a/doc/python/sankey-diagram.md +++ b/doc/python/sankey-diagram.md @@ -53,7 +53,7 @@ fig = go.Figure(data=[go.Sankey( color = "blue" ), link = dict( - source = [0, 1, 0, 2, 3, 3], # indices correspond to labels, eg A1, A2, A2, B1, ... + source = [0, 1, 0, 2, 3, 3], # indices correspond to labels, eg A1, A2, A1, B1, ... target = [2, 3, 3, 4, 4, 5], value = [8, 4, 2, 8, 4, 2] ))])