|
223 | 223 | }
|
224 | 224 | },
|
225 | 225 | "frames": {
|
226 |
| - "baseframe": { |
227 |
| - "description": "The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames.", |
228 |
| - "role": "info", |
229 |
| - "valType": "string" |
230 |
| - }, |
231 |
| - "data": { |
232 |
| - "description": "A list of traces this frame modifies. The format is identical to the normal trace definition.", |
233 |
| - "role": "data", |
234 |
| - "valType": "data_array" |
235 |
| - }, |
236 |
| - "datasrc": { |
237 |
| - "description": "Sets the source reference on plot.ly for data .", |
238 |
| - "role": "info", |
239 |
| - "valType": "string" |
240 |
| - }, |
241 |
| - "group": { |
242 |
| - "description": "An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames.", |
243 |
| - "role": "info", |
244 |
| - "valType": "string" |
245 |
| - }, |
246 |
| - "layout": { |
247 |
| - "description": "Layout properties which this frame modifies. The format is identical to the normal layout definition.", |
248 |
| - "valType": "any" |
249 |
| - }, |
250 |
| - "name": { |
251 |
| - "description": "A label by which to identify the frame", |
252 |
| - "role": "info", |
253 |
| - "valType": "string" |
254 |
| - }, |
255 |
| - "traces": { |
256 |
| - "description": "A list of trace indices that identify the respective traces in the data attribute", |
257 |
| - "role": "data", |
258 |
| - "valType": "data_array" |
| 226 | + "items": { |
| 227 | + "frames_entry": { |
| 228 | + "baseframe": { |
| 229 | + "description": "The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames.", |
| 230 | + "role": "info", |
| 231 | + "valType": "string" |
| 232 | + }, |
| 233 | + "data": { |
| 234 | + "description": "A list of traces this frame modifies. The format is identical to the normal trace definition.", |
| 235 | + "role": "object", |
| 236 | + "valType": "any" |
| 237 | + }, |
| 238 | + "group": { |
| 239 | + "description": "An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames.", |
| 240 | + "role": "info", |
| 241 | + "valType": "string" |
| 242 | + }, |
| 243 | + "layout": { |
| 244 | + "description": "Layout properties which this frame modifies. The format is identical to the normal layout definition.", |
| 245 | + "role": "object", |
| 246 | + "valType": "any" |
| 247 | + }, |
| 248 | + "name": { |
| 249 | + "description": "A label by which to identify the frame", |
| 250 | + "role": "info", |
| 251 | + "valType": "string" |
| 252 | + }, |
| 253 | + "role": "object", |
| 254 | + "traces": { |
| 255 | + "description": "A list of trace indices that identify the respective traces in the data attribute", |
| 256 | + "role": "info", |
| 257 | + "valType": "any" |
| 258 | + } |
| 259 | + } |
259 | 260 | },
|
260 |
| - "tracessrc": { |
261 |
| - "description": "Sets the source reference on plot.ly for traces .", |
262 |
| - "role": "info", |
263 |
| - "valType": "string" |
264 |
| - } |
| 261 | + "role": "object" |
265 | 262 | },
|
266 | 263 | "layout": {
|
267 | 264 | "layoutAttributes": {
|
|
451 | 448 | "role": "style",
|
452 | 449 | "valType": "number"
|
453 | 450 | },
|
| 451 | + "clicktoshow": { |
| 452 | + "description": "Makes this annotation respond to clicks on the plot. If you click a data point that exactly matches the `x` and `y` values of this annotation, and it is hidden (visible: false), it will appear. In *onoff* mode, you must click the same point again to make it disappear, so if you click multiple points, you can show multiple annotations. In *onout* mode, a click anywhere else in the plot (on another data point or not) will hide this annotation. If you need to show/hide this annotation in response to different `x` or `y` values, you can set `xclick` and/or `yclick`. This is useful for example to label the side of a bar. To label markers though, `standoff` is preferred over `xclick` and `yclick`.", |
| 453 | + "dflt": false, |
| 454 | + "role": "style", |
| 455 | + "valType": "enumerated", |
| 456 | + "values": [ |
| 457 | + false, |
| 458 | + "onoff", |
| 459 | + "onout" |
| 460 | + ] |
| 461 | + }, |
454 | 462 | "font": {
|
455 | 463 | "color": {
|
456 | 464 | "role": "style",
|
|
486 | 494 | "role": "style",
|
487 | 495 | "valType": "boolean"
|
488 | 496 | },
|
| 497 | + "standoff": { |
| 498 | + "description": "Sets a distance, in pixels, to move the arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom.", |
| 499 | + "dflt": 0, |
| 500 | + "min": 0, |
| 501 | + "role": "style", |
| 502 | + "valType": "number" |
| 503 | + }, |
489 | 504 | "text": {
|
490 | 505 | "description": "Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (<br>), bold (<b></b>), italics (<i></i>), hyperlinks (<a href='...'></a>). Tags <em>, <sup>, <sub> <span> are also supported.",
|
491 | 506 | "role": "info",
|
|
509 | 524 | "valType": "any"
|
510 | 525 | },
|
511 | 526 | "xanchor": {
|
512 |
| - "description": "Sets the annotation's horizontal position anchor This anchor binds the `x` position to the *left*, *center* or *right* of the annotation. For example, if `x` is set to 1, `xref` to *paper* and `xanchor` to *right* then the right-most portion of the annotation lines up with the right-most edge of the plotting area. If *auto*, the anchor is equivalent to *center* for data-referenced annotations whereas for paper-referenced, the anchor picked corresponds to the closest side.", |
| 527 | + "description": "Sets the text box's horizontal position anchor This anchor binds the `x` position to the *left*, *center* or *right* of the annotation. For example, if `x` is set to 1, `xref` to *paper* and `xanchor` to *right* then the right-most portion of the annotation lines up with the right-most edge of the plotting area. If *auto*, the anchor is equivalent to *center* for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.", |
513 | 528 | "dflt": "auto",
|
514 | 529 | "role": "info",
|
515 | 530 | "valType": "enumerated",
|
|
520 | 535 | "right"
|
521 | 536 | ]
|
522 | 537 | },
|
| 538 | + "xclick": { |
| 539 | + "description": "Toggle this annotation when clicking a data point whose `x` value is `xclick` rather than the annotation's `x` value.", |
| 540 | + "role": "info", |
| 541 | + "valType": "any" |
| 542 | + }, |
523 | 543 | "xref": {
|
524 | 544 | "description": "Sets the annotation's x coordinate axis. If set to an x axis id (e.g. *x* or *x2*), the `x` position refers to an x coordinate If set to *paper*, the `x` position refers to the distance from the left side of the plotting area in normalized coordinates where 0 (1) corresponds to the left (right) side.",
|
525 | 545 | "role": "info",
|
|
535 | 555 | "valType": "any"
|
536 | 556 | },
|
537 | 557 | "yanchor": {
|
538 |
| - "description": "Sets the annotation's vertical position anchor This anchor binds the `y` position to the *top*, *middle* or *bottom* of the annotation. For example, if `y` is set to 1, `yref` to *paper* and `yanchor` to *top* then the top-most portion of the annotation lines up with the top-most edge of the plotting area. If *auto*, the anchor is equivalent to *middle* for data-referenced annotations whereas for paper-referenced, the anchor picked corresponds to the closest side.", |
| 558 | + "description": "Sets the text box's vertical position anchor This anchor binds the `y` position to the *top*, *middle* or *bottom* of the annotation. For example, if `y` is set to 1, `yref` to *paper* and `yanchor` to *top* then the top-most portion of the annotation lines up with the top-most edge of the plotting area. If *auto*, the anchor is equivalent to *middle* for data-referenced annotations or if there is an arrow, whereas for paper-referenced with no arrow, the anchor picked corresponds to the closest side.", |
539 | 559 | "dflt": "auto",
|
540 | 560 | "role": "info",
|
541 | 561 | "valType": "enumerated",
|
|
546 | 566 | "bottom"
|
547 | 567 | ]
|
548 | 568 | },
|
| 569 | + "yclick": { |
| 570 | + "description": "Toggle this annotation when clicking a data point whose `y` value is `yclick` rather than the annotation's `y` value.", |
| 571 | + "role": "info", |
| 572 | + "valType": "any" |
| 573 | + }, |
549 | 574 | "yref": {
|
550 | 575 | "description": "Sets the annotation's y coordinate axis. If set to an y axis id (e.g. *y* or *y2*), the `y` position refers to an y coordinate If set to *paper*, the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where 0 (1) corresponds to the bottom (top).",
|
551 | 576 | "role": "info",
|
|
1910 | 1935 | "B"
|
1911 | 1936 | ]
|
1912 | 1937 | },
|
1913 |
| - "fixedrange": { |
1914 |
| - "description": "Determines whether or not this axis is zoom-able. If true, then zoom is disabled.", |
1915 |
| - "dflt": false, |
1916 |
| - "role": "info", |
1917 |
| - "valType": "boolean" |
1918 |
| - }, |
1919 | 1938 | "gridcolor": {
|
1920 | 1939 | "description": "Sets the color of the grid lines.",
|
1921 | 1940 | "dflt": "rgb(204, 204, 204)",
|
|
2343 | 2362 | "B"
|
2344 | 2363 | ]
|
2345 | 2364 | },
|
2346 |
| - "fixedrange": { |
2347 |
| - "description": "Determines whether or not this axis is zoom-able. If true, then zoom is disabled.", |
2348 |
| - "dflt": false, |
2349 |
| - "role": "info", |
2350 |
| - "valType": "boolean" |
2351 |
| - }, |
2352 | 2365 | "gridcolor": {
|
2353 | 2366 | "description": "Sets the color of the grid lines.",
|
2354 | 2367 | "dflt": "rgb(204, 204, 204)",
|
|
2776 | 2789 | "B"
|
2777 | 2790 | ]
|
2778 | 2791 | },
|
2779 |
| - "fixedrange": { |
2780 |
| - "description": "Determines whether or not this axis is zoom-able. If true, then zoom is disabled.", |
2781 |
| - "dflt": false, |
2782 |
| - "role": "info", |
2783 |
| - "valType": "boolean" |
2784 |
| - }, |
2785 | 2792 | "gridcolor": {
|
2786 | 2793 | "description": "Sets the color of the grid lines.",
|
2787 | 2794 | "dflt": "rgb(204, 204, 204)",
|
|
10707 | 10714 | "role": "style",
|
10708 | 10715 | "valType": "boolean"
|
10709 | 10716 | },
|
| 10717 | + "cumulative": { |
| 10718 | + "currentbin": { |
| 10719 | + "description": "Only applies if cumulative is enabled. Sets whether the current bin is included, excluded, or has half of its value included in the current cumulative value. *include* is the default for compatibility with various other tools, however it introduces a half-bin bias to the results. *exclude* makes the opposite half-bin bias, and *half* removes it.", |
| 10720 | + "dflt": "include", |
| 10721 | + "role": "info", |
| 10722 | + "valType": "enumerated", |
| 10723 | + "values": [ |
| 10724 | + "include", |
| 10725 | + "exclude", |
| 10726 | + "half" |
| 10727 | + ] |
| 10728 | + }, |
| 10729 | + "direction": { |
| 10730 | + "description": "Only applies if cumulative is enabled. If *increasing* (default) we sum all prior bins, so the result increases from left to right. If *decreasing* we sum later bins so the result decreases from left to right.", |
| 10731 | + "dflt": "increasing", |
| 10732 | + "role": "info", |
| 10733 | + "valType": "enumerated", |
| 10734 | + "values": [ |
| 10735 | + "increasing", |
| 10736 | + "decreasing" |
| 10737 | + ] |
| 10738 | + }, |
| 10739 | + "enabled": { |
| 10740 | + "description": "If true, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the *density* `histnorm` settings behave the same as their equivalents without *density*: ** and *density* both rise to the number of data points, and *probability* and *probability density* both rise to the number of sample points.", |
| 10741 | + "dflt": false, |
| 10742 | + "role": "info", |
| 10743 | + "valType": "boolean" |
| 10744 | + }, |
| 10745 | + "role": "object" |
| 10746 | + }, |
10710 | 10747 | "error_x": {
|
10711 | 10748 | "_deprecated": {
|
10712 | 10749 | "opacity": {
|
|
10927 | 10964 | ]
|
10928 | 10965 | },
|
10929 | 10966 | "histnorm": {
|
10930 |
| - "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent*, the span of each bar corresponds to the percentage of occurrences with respect to the total number of sample points (here, the sum of all bin area equals 100%). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin area equals the total number of sample points). If *probability density*, the span of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin area equals 1).", |
| 10967 | + "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent* / *probability*, the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If *probability density*, the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).", |
10931 | 10968 | "dflt": "",
|
10932 | 10969 | "role": "style",
|
10933 | 10970 | "valType": "enumerated",
|
|
12059 | 12096 | ]
|
12060 | 12097 | },
|
12061 | 12098 | "histnorm": {
|
12062 |
| - "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent*, the span of each bar corresponds to the percentage of occurrences with respect to the total number of sample points (here, the sum of all bin area equals 100%). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin area equals the total number of sample points). If *probability density*, the span of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin area equals 1).", |
| 12099 | + "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent* / *probability*, the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If *probability density*, the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).", |
12063 | 12100 | "dflt": "",
|
12064 | 12101 | "role": "style",
|
12065 | 12102 | "valType": "enumerated",
|
|
12796 | 12833 | ]
|
12797 | 12834 | },
|
12798 | 12835 | "histnorm": {
|
12799 |
| - "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent*, the span of each bar corresponds to the percentage of occurrences with respect to the total number of sample points (here, the sum of all bin area equals 100%). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin area equals the total number of sample points). If *probability density*, the span of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin area equals 1).", |
| 12836 | + "description": "Specifies the type of normalization used for this histogram trace. If **, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent* / *probability*, the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If *density*, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If *probability density*, the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).", |
12800 | 12837 | "dflt": "",
|
12801 | 12838 | "role": "style",
|
12802 | 12839 | "valType": "enumerated",
|
|
0 commit comments