@@ -118,10 +118,33 @@ module.exports = {
118
118
} ,
119
119
fillcolor : boxAttrs . fillcolor ,
120
120
121
- // TODO update description
122
- points : boxAttrs . boxpoints ,
123
- jitter : boxAttrs . jitter ,
124
- pointpos : boxAttrs . pointpos ,
121
+ points : extendFlat ( { } , boxAttrs . boxpoints , {
122
+ description : [
123
+ 'If *outliers*, only the sample points lying outside the whiskers' ,
124
+ 'are shown' ,
125
+ 'If *suspectedoutliers*, the outlier points are shown and' ,
126
+ 'points either less than 4*Q1-3*Q3 or greater than 4*Q3-3*Q1' ,
127
+ 'are highlighted (see `outliercolor`)' ,
128
+ 'If *all*, all sample points are shown' ,
129
+ 'If *false*, only the violins are shown with no sample points'
130
+ ] . join ( ' ' )
131
+ } ) ,
132
+ jitter : extendFlat ( { } , boxAttrs . jitter , {
133
+ description : [
134
+ 'Sets the amount of jitter in the sample points drawn.' ,
135
+ 'If *0*, the sample points align along the distribution axis.' ,
136
+ 'If *1*, the sample points are drawn in a random jitter of width' ,
137
+ 'equal to the width of the violins.'
138
+ ] . join ( ' ' )
139
+ } ) ,
140
+ pointpos : extendFlat ( { } , boxAttrs . pointpos , {
141
+ description : [
142
+ 'Sets the position of the sample points in relation to the violins.' ,
143
+ 'If *0*, the sample points are places over the center of the violins.' ,
144
+ 'Positive (negative) values correspond to positions to the' ,
145
+ 'right (left) for vertical violins and above (below) for horizontal violins.'
146
+ ] . join ( ' ' )
147
+ } ) ,
125
148
marker : boxAttrs . marker ,
126
149
text : boxAttrs . text ,
127
150
@@ -130,7 +153,9 @@ module.exports = {
130
153
dflt : false ,
131
154
role : 'info' ,
132
155
editType : 'plot' ,
133
- description : '.'
156
+ description : [
157
+ 'Determines if an miniature box plot is drawn inside the violins. '
158
+ ] . join ( ' ' )
134
159
} ,
135
160
innerboxwidth : {
136
161
valType : 'number' ,
@@ -139,47 +164,56 @@ module.exports = {
139
164
dflt : 0.25 ,
140
165
role : 'info' ,
141
166
editType : 'plot' ,
142
- description : '...'
167
+ description : [
168
+ 'Sets the width of the inner box plots relative to' ,
169
+ 'the violins\' width.' ,
170
+ 'For example, with 1, the inner box plots are as wide as the violins.'
171
+ ] . join ( ' ' )
143
172
} ,
144
173
innerboxlinecolor : {
145
174
valType : 'color' ,
146
175
role : 'style' ,
147
176
editType : 'style' ,
148
- description : ''
177
+ description : 'Sets the inner box plot bounding line color. '
149
178
} ,
150
179
innerboxfillcolor : {
151
180
valType : 'color' ,
152
181
role : 'style' ,
153
182
editType : 'style' ,
154
- description : ''
183
+ description : 'Sets the inner box plot fill color. '
155
184
} ,
156
185
innerboxlinewidth : {
157
186
valType : 'number' ,
158
187
min : 0 ,
159
188
role : 'style' ,
160
189
editType : 'style' ,
161
- description : ''
190
+ description : 'Sets the inner box plot bounding line width. '
162
191
} ,
163
192
164
193
showmeanline : {
165
194
valType : 'boolean' ,
166
195
dflt : false ,
167
196
role : 'info' ,
168
197
editType : 'plot' ,
169
- description : 'Toggle'
198
+ description : [
199
+ 'Determines if a line corresponding to the sample\'s mean is shown' ,
200
+ 'inside the violins.' ,
201
+ 'If `showinnerbox` is turned on, the mean line is drawn inside the inner box.' ,
202
+ 'Otherwise, the mean line is drawn from one side of the violin to other.'
203
+ ] . join ( ' ' )
170
204
} ,
171
205
meanlinecolor : {
172
206
valType : 'color' ,
173
207
role : 'style' ,
174
208
editType : 'style' ,
175
- description : ''
209
+ description : 'Sets the mean line color. '
176
210
} ,
177
211
meanlinewidth : {
178
212
valType : 'number' ,
179
213
min : 0 ,
180
214
role : 'style' ,
181
215
editType : 'style' ,
182
- description : ''
216
+ description : 'Sets the mean line width. '
183
217
} ,
184
218
185
219
side : {
0 commit comments