From 4b4f37513008aedee146d6f1e3bc5cb8ff697e27 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Sat, 11 Apr 2020 15:34:45 +0200 Subject: [PATCH 1/2] Update sunburst-charts.md --- doc/python/sunburst-charts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/sunburst-charts.md b/doc/python/sunburst-charts.md index 2a423523d7e..8de45b3bd0e 100644 --- a/doc/python/sunburst-charts.md +++ b/doc/python/sunburst-charts.md @@ -196,7 +196,7 @@ fig.show() With branchvalues "total", the value of the parent represents the width of its wedge. In the example below, "Enoch" is 4 and "Awan" is 6 and so Enoch's width is 4/6ths of Awans. With branchvalues "remainder", the parent's width is determined by its own value plus those of its children. So, Enoch's width is 4/10ths of Awan's (4 / (6 + 4)). -Note that this means that the sum of the values of the children cannot exceed the value of their parent when branchvalues "total". When branchvalues "relative" (the default), children will not take up all of the space below their parent (unless the parent is the root and it has a value of 0). +Note that this means that the sum of the values of the children cannot exceed the value of their parent when branchvalues "total". When branchvalues "remainder" (the default), children will not take up all of the space below their parent (unless the parent is the root and it has a value of 0). ```python import plotly.graph_objects as go From 756b96cafab75e31f6d086f91e0edd2be9dfcf58 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Tue, 14 Apr 2020 14:59:26 +0200 Subject: [PATCH 2/2] Update doc/python/sunburst-charts.md Co-Authored-By: Nicolas Kruchten --- doc/python/sunburst-charts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/python/sunburst-charts.md b/doc/python/sunburst-charts.md index 8de45b3bd0e..cef5dbaface 100644 --- a/doc/python/sunburst-charts.md +++ b/doc/python/sunburst-charts.md @@ -196,7 +196,7 @@ fig.show() With branchvalues "total", the value of the parent represents the width of its wedge. In the example below, "Enoch" is 4 and "Awan" is 6 and so Enoch's width is 4/6ths of Awans. With branchvalues "remainder", the parent's width is determined by its own value plus those of its children. So, Enoch's width is 4/10ths of Awan's (4 / (6 + 4)). -Note that this means that the sum of the values of the children cannot exceed the value of their parent when branchvalues "total". When branchvalues "remainder" (the default), children will not take up all of the space below their parent (unless the parent is the root and it has a value of 0). +Note that this means that the sum of the values of the children cannot exceed the value of their parent when branchvalues is set to "total". When branchvalues is set to "remainder" (the default), children will not take up all of the space below their parent (unless the parent is the root and it has a value of 0). ```python import plotly.graph_objects as go