@@ -67,7 +67,7 @@ module.exports = {
6767 ] . join ( ' ' )
6868 } ,
6969
70- mirror : {
70+ flip : {
7171 valType : 'flaglist' ,
7272 role : 'info' ,
7373 flags : [
@@ -77,7 +77,7 @@ module.exports = {
7777 dflt : '' ,
7878 editType : 'plot' ,
7979 description : [
80- 'Determines if the positions obtained from solver are mirrored on each axis.'
80+ 'Determines if the positions obtained from solver are flipped on each axis.'
8181 ] . join ( ' ' )
8282 } ,
8383
@@ -97,41 +97,37 @@ module.exports = {
9797
9898 marker : extendFlat ( {
9999 pad : {
100- top : {
100+ t : {
101101 valType : 'number' ,
102102 role : 'style' ,
103103 min : 0 ,
104- dflt : 'auto' ,
105104 editType : 'plot' ,
106105 description : [
107106 'Sets the padding form the top (in px).'
108107 ] . join ( ' ' )
109108 } ,
110- left : {
109+ l : {
111110 valType : 'number' ,
112111 role : 'style' ,
113112 min : 0 ,
114- dflt : 'auto' ,
115113 editType : 'plot' ,
116114 description : [
117115 'Sets the padding form the left (in px).'
118116 ] . join ( ' ' )
119117 } ,
120- right : {
118+ r : {
121119 valType : 'number' ,
122120 role : 'style' ,
123121 min : 0 ,
124- dflt : 'auto' ,
125122 editType : 'plot' ,
126123 description : [
127124 'Sets the padding form the right (in px).'
128125 ] . join ( ' ' )
129126 } ,
130- bottom : {
127+ b : {
131128 valType : 'number' ,
132129 role : 'style' ,
133130 min : 0 ,
134- dflt : 'auto' ,
135131 editType : 'plot' ,
136132 description : [
137133 'Sets the padding form the bottom (in px).'
@@ -141,15 +137,7 @@ module.exports = {
141137 editType : 'calc'
142138 } ,
143139
144- colors : {
145- valType : 'data_array' ,
146- editType : 'calc' ,
147- description : [
148- 'Sets the color of each sector of this treemap chart.' ,
149- 'If not specified, the default trace color set is used' ,
150- 'to pick the sector colors.'
151- ] . join ( ' ' )
152- } ,
140+ colors : sunburstAttrs . marker . colors ,
153141
154142 opacity : {
155143 valType : 'number' ,
@@ -164,17 +152,7 @@ module.exports = {
164152 ] . join ( ' ' )
165153 } ,
166154
167- line : {
168- color : extendFlat ( { } , pieAttrs . marker . line . color , {
169- dflt : null ,
170- description : [
171- 'Sets the color of the line enclosing each sector.' ,
172- 'Defaults to the `paper_bgcolor` value.'
173- ] . join ( ' ' )
174- } ) ,
175- width : extendFlat ( { } , pieAttrs . marker . line . width , { dflt : 1 } ) ,
176- editType : 'calc'
177- } ,
155+ line : sunburstAttrs . marker . line ,
178156
179157 editType : 'calc'
180158 } ,
@@ -210,7 +188,7 @@ module.exports = {
210188 ] . join ( ' ' )
211189 } ,
212190
213- position : {
191+ side : {
214192 valType : 'enumerated' ,
215193 values : [
216194 'top' ,
@@ -234,24 +212,22 @@ module.exports = {
234212 '/' ,
235213 '\\'
236214 ] ,
237- dflt : 'auto' ,
238215 role : 'style' ,
239216 editType : 'plot' ,
240217 description : [
241218 'Determines which divider is used between labels.' ,
242- 'With *top* `pathbar.position ` it is defaulted to */*; and' ,
243- 'with *bottom* `pathbar.position ` it is defaulted to *\\*.'
219+ 'With *top* `pathbar.side ` it is defaulted to */*; and' ,
220+ 'with *bottom* `pathbar.side ` it is defaulted to *\\*.'
244221 ] . join ( ' ' )
245222 } ,
246223
247- height : {
224+ thickness : {
248225 valType : 'number' ,
249- dflt : 'auto' ,
250226 min : 12 ,
251227 role : 'info' ,
252228 editType : 'plot' ,
253229 description : [
254- 'Sets the height (in px). If not specified the `parbath .textfont.size` is used' ,
230+ 'Sets the thickness of `pathbar` (in px). If not specified the `pathbar .textfont.size` is used' ,
255231 'with 3 pixles extra padding on each side.'
256232 ] . join ( ' ' )
257233 } ,
@@ -301,14 +277,12 @@ module.exports = {
301277 marker : {
302278 line : {
303279 color : extendFlat ( { } , pieAttrs . marker . line . color , {
304- dflt : 'auto' ,
305280 description : [
306281 'Sets the color of the line' ,
307282 'enclosing each sector when it is hovered'
308283 ] . join ( ' ' )
309284 } ) ,
310285 width : extendFlat ( { } , pieAttrs . marker . line . width , {
311- dflt : 'auto' ,
312286 description : [
313287 'Sets the width (in px) of the line' ,
314288 'enclosing each sector when it is hovered.'
0 commit comments