From 1c33d2d2c238815a49f807efb9f7a529bddd232c Mon Sep 17 00:00:00 2001 From: mahdis-z Date: Mon, 18 Nov 2019 16:20:59 -0500 Subject: [PATCH 1/2] duplication removal --- python/sunburst-charts.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/python/sunburst-charts.md b/python/sunburst-charts.md index 4cc8bfb07..2ecc32fa7 100644 --- a/python/sunburst-charts.md +++ b/python/sunburst-charts.md @@ -38,18 +38,9 @@ Sunburst plot visualizes hierarchical data spanning outwards radially from root Main arguments: 1. **labels**: sets the labels of sunburst sectors. -2. **parents**: sets the parent sectors of sunburst sectors. An empty string '' is used for the root node in the hierarchy. In this example, the root is "Eve". +2. **parents**: sets the parent sectors of sunburst sectors. An empty string `''` is used for the root node in the hierarchy. In this example, the root is "Eve". 3. **values**: sets the values associated with sunburst sectors, determining their width (See the "Branchvalues" section below for different modes for setting the width). - -Sunburst plots visualize hierarchical data spanning outwards radially from root to leaves. The sunburst sector hierarchy is determined by the entries in `labels` and in `parents`. The root starts from the center and children are added to the outer rings. - -Main arguments: -1. `labels`: sets the labels of sunburst sectors. -2. `parents`: sets the parent sectors of sunburst sectors. An empty string `''` is used for the root node in the hierarchy. In this example, the root is "Eve". -3. `values`: sets the values associated with sunburst sectors, determining their width (See the `branchvalues` section below for different modes for setting the width). - - ```python import plotly.graph_objects as go From 04caa29bfd22595d608806c5960dfba7870b3a9f Mon Sep 17 00:00:00 2001 From: mahdis-z Date: Tue, 19 Nov 2019 15:24:33 -0500 Subject: [PATCH 2/2] formatting matters --- python/sunburst-charts.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/sunburst-charts.md b/python/sunburst-charts.md index 2ecc32fa7..43edfe028 100644 --- a/python/sunburst-charts.md +++ b/python/sunburst-charts.md @@ -34,12 +34,12 @@ jupyter: --- ### Basic Sunburst Plot ### -Sunburst plot visualizes hierarchical data spanning outwards radially from root to leaves. The sunburst sectors are determined by the entries in "labels" and in "parents". The root starts from the center and children are added to the outer rings. +Sunburst plots visualize hierarchical data spanning outwards radially from root to leaves. The sunburst sector hierarchy is determined by the entries in `labels` and in `parents`. The root starts from the center and children are added to the outer rings. Main arguments: -1. **labels**: sets the labels of sunburst sectors. -2. **parents**: sets the parent sectors of sunburst sectors. An empty string `''` is used for the root node in the hierarchy. In this example, the root is "Eve". -3. **values**: sets the values associated with sunburst sectors, determining their width (See the "Branchvalues" section below for different modes for setting the width). +1. `labels`: sets the labels of sunburst sectors. +2. `parents`: sets the parent sectors of sunburst sectors. An empty string `''` is used for the root node in the hierarchy. In this example, the root is "Eve". +3. `values`: sets the values associated with sunburst sectors, determining their width (See the `branchvalues` section below for different modes for setting the width). ```python import plotly.graph_objects as go