Skip to content

Commit df4b9de

Browse files
committed
Update generated types
1 parent cfa6556 commit df4b9de

1 file changed

Lines changed: 97 additions & 0 deletions

File tree

src/types/generated/schema.d.ts

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15929,10 +15929,30 @@ export interface Layout {
1592915929
opacity?: number;
1593015930
};
1593115931
annotations?: Annotation[];
15932+
/**
15933+
* Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot.
15934+
* @default false
15935+
*/
1593215936
autosize?: boolean;
15937+
/**
15938+
* Using *strict* a numeric string in trace data is not converted to a number. Using *convert types* a numeric string in trace data may be treated as a number during automatic axis `type` detection. This is the default value; however it could be overridden for individual axes.
15939+
* @default 'convert types'
15940+
*/
1593315941
autotypenumbers?: 'convert types' | 'strict';
15942+
/**
15943+
* Sets the default calendar system to use for interpreting and displaying dates throughout the plot.
15944+
* @default 'gregorian'
15945+
*/
1593415946
calendar?: Calendar;
15947+
/**
15948+
* If true, `plotly_click` events will fire for any click position within the plot area, not just over traces. When clicking where there is no trace data, the event will have an empty `points` array but will include `xvals` and `yvals` with click coordinates in data space.
15949+
* @default false
15950+
*/
1593515951
clickanywhere?: boolean;
15952+
/**
15953+
* Determines the mode of single click interactions. *event* is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes *lasso* and *select*, but with no event data attached (kept for compatibility reasons). The *select* flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. *select* with `hovermode`: *x* can be confusing, consider explicitly setting `hovermode`: *closest* when using this feature. Selection events are sent accordingly as long as *event* flag is set as well. When the *event* flag is missing, `plotly_click` and `plotly_selected` events are not fired.
15954+
* @default 'event'
15955+
*/
1593615956
clickmode?: 'event' | 'select' | 'none' | (string & {});
1593715957
coloraxis?: ColorAxis;
1593815958
colorscale?: {
@@ -15952,11 +15972,23 @@ export interface Layout {
1595215972
*/
1595315973
sequentialminus?: ColorScale;
1595415974
};
15975+
/**
15976+
* Sets the default trace colors.
15977+
* @default ["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"]
15978+
*/
1595515979
colorway?: Color[];
15980+
/** Placeholder for exporting automargin-impacting values namely `margin.t`, `margin.b`, `margin.l` and `margin.r` in *full-json* mode. */
1595615981
computed?: any;
15982+
/** If provided, a changed value tells `Plotly.react` that one or more data arrays has changed. This way you can modify arrays in-place rather than making a complete new copy for an incremental change. If NOT provided, `Plotly.react` assumes that data arrays are being treated as immutable, thus any data array with a different identity from its predecessor contains new data. */
1595715983
datarevision?: any;
15984+
/**
15985+
* Determines the mode of drag interactions. *select* and *lasso* apply only to scatter traces with markers or text. *orbit* and *turntable* apply only to 3D scenes.
15986+
* @default 'zoom'
15987+
*/
1595815988
dragmode?: 'zoom' | 'pan' | 'select' | 'lasso' | 'drawclosedpath' | 'drawopenpath' | 'drawline' | 'drawrect' | 'drawcircle' | 'orbit' | 'turntable' | false;
15989+
/** Controls persistence of user-driven changes in `editable: true` configuration, other than trace names and axis titles. Defaults to `layout.uirevision`. */
1595915990
editrevision?: any;
15991+
/** Sets the global font. Note that fonts used in traces and other layout components inherit from the global font. */
1596015992
font?: Font;
1596115993
geo?: GeoLayout;
1596215994
grid?: {
@@ -16019,8 +16051,22 @@ export interface Layout {
1601916051
*/
1602016052
yside?: 'left' | 'left plot' | 'right plot' | 'right';
1602116053
};
16054+
/**
16055+
* Sets the plot's height (in px).
16056+
* @default 450
16057+
* Minimum: 10
16058+
*/
1602216059
height?: number;
16060+
/**
16061+
* If true, `plotly_hover` events will fire for any cursor position within the plot area, not just over traces. When the cursor is not over a trace, the event will have an empty `points` array but will include `xvals` and `yvals` with cursor coordinates in data space.
16062+
* @default false
16063+
*/
1602316064
hoveranywhere?: boolean;
16065+
/**
16066+
* Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.
16067+
* @default 20
16068+
* Minimum: -1
16069+
*/
1602416070
hoverdistance?: number;
1602516071
hoverlabel?: {
1602616072
/**
@@ -16048,8 +16094,20 @@ export interface Layout {
1604816094
*/
1604916095
showarrow?: boolean;
1605016096
};
16097+
/**
16098+
* Determines the mode of hover interactions. If *closest*, a single hoverlabel will appear for the *closest* point within the `hoverdistance`. If *x* (or *y*), multiple hoverlabels will appear for multiple points at the *closest* x- (or y-) coordinate within the `hoverdistance`, with the caveat that no more than one hoverlabel will appear per trace. If *x unified* (or *y unified*), a single hoverlabel will appear multiple points at the closest x- (or y-) coordinate within the `hoverdistance` with the caveat that no more than one hoverlabel will appear per trace. In this mode, spikelines are enabled by default perpendicular to the specified axis. If false, hover interactions are disabled.
16099+
* @default 'closest'
16100+
*/
1605116101
hovermode?: 'x' | 'y' | 'closest' | false | 'x unified' | 'y unified';
16102+
/**
16103+
* Determines the order of items shown in unified hover labels. If *trace*, items are sorted by trace index. If *value descending*, items are sorted by value from largest to smallest. If *value ascending*, items are sorted by value from smallest to largest. Only applies when `hovermode` is *x unified* or *y unified*.
16104+
* @default 'trace'
16105+
*/
1605216106
hoversort?: 'trace' | 'value descending' | 'value ascending';
16107+
/**
16108+
* Determines expansion of hover effects to other subplots If *single* just the axis pair of the primary point is included without overlaying subplots. If *overlaying* all subplots using the main axis and occupying the same space are included. If *axis*, also include stacked subplots using the same axis when `hovermode` is set to *x*, *x unified*, *y* or *y unified*.
16109+
* @default 'overlaying'
16110+
*/
1605316111
hoversubplots?: 'single' | 'overlaying' | 'axis';
1605416112
images?: LayoutImage[];
1605516113
legend?: Legend;
@@ -16091,8 +16149,19 @@ export interface Layout {
1609116149
*/
1609216150
t?: number;
1609316151
};
16152+
/** Assigns extra meta information that can be used in various `text` attributes. Attributes such as the graph, axis and colorbar `title.text`, annotation `text` `trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text all support `meta`. One can access `meta` fields using template strings: `%{meta[i]}` where `i` is the index of the `meta` item in question. `meta` can also be an object for example `{key: value}` which can be accessed %{meta[key]}. */
1609416153
meta?: any;
16154+
/**
16155+
* Minimum height of the plot with margin.automargin applied (in px)
16156+
* @default 64
16157+
* Minimum: 2
16158+
*/
1609516159
minreducedheight?: number;
16160+
/**
16161+
* Minimum width of the plot with margin.automargin applied (in px)
16162+
* @default 64
16163+
* Minimum: 2
16164+
*/
1609616165
minreducedwidth?: number;
1609716166
modebar?: {
1609816167
/** Sets the color of the active or hovered on icons in the modebar. */
@@ -16241,19 +16310,40 @@ export interface Layout {
1624116310
*/
1624216311
visible?: true | false | 'legendonly';
1624316312
};
16313+
/**
16314+
* Sets the background color of the paper where the graph is drawn.
16315+
* @default '#fff'
16316+
*/
1624416317
paper_bgcolor?: Color;
16318+
/**
16319+
* Sets the background color of the plotting area in-between x and y axes.
16320+
* @default '#fff'
16321+
*/
1624516322
plot_bgcolor?: Color;
1624616323
polar?: PolarLayout;
1624716324
scene?: Scene;
16325+
/**
16326+
* When `dragmode` is set to *select*, this limits the selection of the drag to horizontal, vertical or diagonal. *h* only allows horizontal selection, *v* only vertical, *d* only diagonal and *any* sets no limit.
16327+
* @default 'any'
16328+
*/
1624816329
selectdirection?: 'h' | 'v' | 'd' | 'any';
16330+
/** Controls persistence of user-driven changes in selected points from all traces. */
1624916331
selectionrevision?: any;
1625016332
selections?: LayoutSelection[];
16333+
/** Sets the decimal and thousand separators. For example, *. * puts a '.' before decimals and a space between thousands. In English locales, dflt is *.,* but other locales may alter this default. */
1625116334
separators?: string;
1625216335
shapes?: Shape[];
16336+
/** Determines whether or not a legend is drawn. Default is `true` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: true`. */
1625316337
showlegend?: boolean;
1625416338
sliders?: Slider[];
1625516339
smith?: SmithLayout;
16340+
/**
16341+
* Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills.
16342+
* @default -1
16343+
* Minimum: -1
16344+
*/
1625616345
spikedistance?: number;
16346+
/** Default attributes to be applied to the plot. Templates can be created from existing plots using `Plotly.makeTemplate`, or created manually. They should be objects with format: `{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}` `layoutTemplate` and `traceTemplate` are objects matching the attribute structure of `layout` and a data trace. Trace templates are applied cyclically to traces of each type. Container arrays (eg `annotations`) have special handling: An object ending in `defaults` (eg `annotationdefaults`) is applied to each array item. But if an item has a `templateitemname` key we look in the template array for an item with matching `name` and apply that instead. If no matching `name` is found we mark the item invisible. Any named template item not referenced is appended to the end of the array, so you can use this for a watermark annotation or a logo image, for example. To omit one of these items on the plot, make an item with matching `templateitemname` and `visible: false`. */
1625716347
template?: any;
1625816348
ternary?: TernaryLayout;
1625916349
title?: {
@@ -16323,7 +16413,9 @@ export interface Layout {
1632316413
*/
1632416414
yref?: YRef;
1632516415
};
16416+
/** Sets transition options used during Plotly.react updates. */
1632616417
transition?: Transition;
16418+
/** Used to allow user interactions with the plot to persist after `Plotly.react` calls that are unaware of these interactions. If `uirevision` is omitted, or if it is given and it changed from the previous `Plotly.react` call, the exact new figure is used. If `uirevision` is truthy and did NOT change, any attribute that has been affected by user interactions and did not receive a different value in the new figure will keep the interaction value. `layout.uirevision` attribute serves as the default for `uirevision` attributes in various sub-containers. For finer control you can set these sub-attributes directly. For example, if your app separately controls the data on the x and y axes you might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`. Then if only the y data is changed, you can update `yaxis.uirevision=*quantity*` and the y axis range will reset but the x axis range will retain any user-driven zoom. */
1632716419
uirevision?: any;
1632816420
uniformtext?: {
1632916421
/**
@@ -16339,6 +16431,11 @@ export interface Layout {
1633916431
mode?: false | 'hide' | 'show';
1634016432
};
1634116433
updatemenus?: UpdateMenu[];
16434+
/**
16435+
* Sets the plot's width (in px).
16436+
* @default 700
16437+
* Minimum: 10
16438+
*/
1634216439
width?: number;
1634316440
xaxis?: LayoutAxis;
1634416441
yaxis?: LayoutAxis;

0 commit comments

Comments
 (0)