@@ -19,7 +19,7 @@ module.exports = templatedArray('annotation', {
1919 valType : 'boolean' ,
2020 role : 'info' ,
2121 dflt : true ,
22- editType : 'calcIfAutorange +arraydraw' ,
22+ editType : 'calc +arraydraw' ,
2323 description : [
2424 'Determines whether or not this annotation is visible.'
2525 ] . join ( ' ' )
@@ -28,7 +28,7 @@ module.exports = templatedArray('annotation', {
2828 text : {
2929 valType : 'string' ,
3030 role : 'info' ,
31- editType : 'calcIfAutorange +arraydraw' ,
31+ editType : 'calc +arraydraw' ,
3232 description : [
3333 'Sets the text associated with this annotation.' ,
3434 'Plotly uses a subset of HTML tags to do things like' ,
@@ -41,14 +41,14 @@ module.exports = templatedArray('annotation', {
4141 valType : 'angle' ,
4242 dflt : 0 ,
4343 role : 'style' ,
44- editType : 'calcIfAutorange +arraydraw' ,
44+ editType : 'calc +arraydraw' ,
4545 description : [
4646 'Sets the angle at which the `text` is drawn' ,
4747 'with respect to the horizontal.'
4848 ] . join ( ' ' )
4949 } ,
5050 font : fontAttrs ( {
51- editType : 'calcIfAutorange +arraydraw' ,
51+ editType : 'calc +arraydraw' ,
5252 colorEditType : 'arraydraw' ,
5353 description : 'Sets the annotation text font.'
5454 } ) ,
@@ -57,7 +57,7 @@ module.exports = templatedArray('annotation', {
5757 min : 1 ,
5858 dflt : null ,
5959 role : 'style' ,
60- editType : 'calcIfAutorange +arraydraw' ,
60+ editType : 'calc +arraydraw' ,
6161 description : [
6262 'Sets an explicit width for the text box. null (default) lets the' ,
6363 'text set the box width. Wider text will be clipped.' ,
@@ -69,7 +69,7 @@ module.exports = templatedArray('annotation', {
6969 min : 1 ,
7070 dflt : null ,
7171 role : 'style' ,
72- editType : 'calcIfAutorange +arraydraw' ,
72+ editType : 'calc +arraydraw' ,
7373 description : [
7474 'Sets an explicit height for the text box. null (default) lets the' ,
7575 'text set the box height. Taller text will be clipped.'
@@ -130,7 +130,7 @@ module.exports = templatedArray('annotation', {
130130 min : 0 ,
131131 dflt : 1 ,
132132 role : 'style' ,
133- editType : 'calcIfAutorange +arraydraw' ,
133+ editType : 'calc +arraydraw' ,
134134 description : [
135135 'Sets the padding (in px) between the `text`' ,
136136 'and the enclosing border.'
@@ -141,7 +141,7 @@ module.exports = templatedArray('annotation', {
141141 min : 0 ,
142142 dflt : 1 ,
143143 role : 'style' ,
144- editType : 'calcIfAutorange +arraydraw' ,
144+ editType : 'calc +arraydraw' ,
145145 description : [
146146 'Sets the width (in px) of the border enclosing' ,
147147 'the annotation `text`.'
@@ -152,7 +152,7 @@ module.exports = templatedArray('annotation', {
152152 valType : 'boolean' ,
153153 dflt : true ,
154154 role : 'style' ,
155- editType : 'calcIfAutorange +arraydraw' ,
155+ editType : 'calc +arraydraw' ,
156156 description : [
157157 'Determines whether or not the annotation is drawn with an arrow.' ,
158158 'If *true*, `text` is placed near the arrow\'s tail.' ,
@@ -197,7 +197,7 @@ module.exports = templatedArray('annotation', {
197197 min : 0.3 ,
198198 dflt : 1 ,
199199 role : 'style' ,
200- editType : 'calcIfAutorange +arraydraw' ,
200+ editType : 'calc +arraydraw' ,
201201 description : [
202202 'Sets the size of the end annotation arrow head, relative to `arrowwidth`.' ,
203203 'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -208,7 +208,7 @@ module.exports = templatedArray('annotation', {
208208 min : 0.3 ,
209209 dflt : 1 ,
210210 role : 'style' ,
211- editType : 'calcIfAutorange +arraydraw' ,
211+ editType : 'calc +arraydraw' ,
212212 description : [
213213 'Sets the size of the start annotation arrow head, relative to `arrowwidth`.' ,
214214 'A value of 1 (default) gives a head about 3x as wide as the line.'
@@ -218,15 +218,15 @@ module.exports = templatedArray('annotation', {
218218 valType : 'number' ,
219219 min : 0.1 ,
220220 role : 'style' ,
221- editType : 'calcIfAutorange +arraydraw' ,
221+ editType : 'calc +arraydraw' ,
222222 description : 'Sets the width (in px) of annotation arrow line.'
223223 } ,
224224 standoff : {
225225 valType : 'number' ,
226226 min : 0 ,
227227 dflt : 0 ,
228228 role : 'style' ,
229- editType : 'calcIfAutorange +arraydraw' ,
229+ editType : 'calc +arraydraw' ,
230230 description : [
231231 'Sets a distance, in pixels, to move the end arrowhead away from the' ,
232232 'position it is pointing at, for example to point at the edge of' ,
@@ -240,7 +240,7 @@ module.exports = templatedArray('annotation', {
240240 min : 0 ,
241241 dflt : 0 ,
242242 role : 'style' ,
243- editType : 'calcIfAutorange +arraydraw' ,
243+ editType : 'calc +arraydraw' ,
244244 description : [
245245 'Sets a distance, in pixels, to move the start arrowhead away from the' ,
246246 'position it is pointing at, for example to point at the edge of' ,
@@ -252,7 +252,7 @@ module.exports = templatedArray('annotation', {
252252 ax : {
253253 valType : 'any' ,
254254 role : 'info' ,
255- editType : 'calcIfAutorange +arraydraw' ,
255+ editType : 'calc +arraydraw' ,
256256 description : [
257257 'Sets the x component of the arrow tail about the arrow head.' ,
258258 'If `axref` is `pixel`, a positive (negative) ' ,
@@ -265,7 +265,7 @@ module.exports = templatedArray('annotation', {
265265 ay : {
266266 valType : 'any' ,
267267 role : 'info' ,
268- editType : 'calcIfAutorange +arraydraw' ,
268+ editType : 'calc +arraydraw' ,
269269 description : [
270270 'Sets the y component of the arrow tail about the arrow head.' ,
271271 'If `ayref` is `pixel`, a positive (negative) ' ,
@@ -332,7 +332,7 @@ module.exports = templatedArray('annotation', {
332332 x : {
333333 valType : 'any' ,
334334 role : 'info' ,
335- editType : 'calcIfAutorange +arraydraw' ,
335+ editType : 'calc +arraydraw' ,
336336 description : [
337337 'Sets the annotation\'s x position.' ,
338338 'If the axis `type` is *log*, then you must take the' ,
@@ -350,7 +350,7 @@ module.exports = templatedArray('annotation', {
350350 values : [ 'auto' , 'left' , 'center' , 'right' ] ,
351351 dflt : 'auto' ,
352352 role : 'info' ,
353- editType : 'calcIfAutorange +arraydraw' ,
353+ editType : 'calc +arraydraw' ,
354354 description : [
355355 'Sets the text box\'s horizontal position anchor' ,
356356 'This anchor binds the `x` position to the *left*, *center*' ,
@@ -369,7 +369,7 @@ module.exports = templatedArray('annotation', {
369369 valType : 'number' ,
370370 dflt : 0 ,
371371 role : 'style' ,
372- editType : 'calcIfAutorange +arraydraw' ,
372+ editType : 'calc +arraydraw' ,
373373 description : [
374374 'Shifts the position of the whole annotation and arrow to the' ,
375375 'right (positive) or left (negative) by this many pixels.'
@@ -395,7 +395,7 @@ module.exports = templatedArray('annotation', {
395395 y : {
396396 valType : 'any' ,
397397 role : 'info' ,
398- editType : 'calcIfAutorange +arraydraw' ,
398+ editType : 'calc +arraydraw' ,
399399 description : [
400400 'Sets the annotation\'s y position.' ,
401401 'If the axis `type` is *log*, then you must take the' ,
@@ -413,7 +413,7 @@ module.exports = templatedArray('annotation', {
413413 values : [ 'auto' , 'top' , 'middle' , 'bottom' ] ,
414414 dflt : 'auto' ,
415415 role : 'info' ,
416- editType : 'calcIfAutorange +arraydraw' ,
416+ editType : 'calc +arraydraw' ,
417417 description : [
418418 'Sets the text box\'s vertical position anchor' ,
419419 'This anchor binds the `y` position to the *top*, *middle*' ,
@@ -432,7 +432,7 @@ module.exports = templatedArray('annotation', {
432432 valType : 'number' ,
433433 dflt : 0 ,
434434 role : 'style' ,
435- editType : 'calcIfAutorange +arraydraw' ,
435+ editType : 'calc +arraydraw' ,
436436 description : [
437437 'Shifts the position of the whole annotation and arrow up' ,
438438 '(positive) or down (negative) by this many pixels.'
0 commit comments