Skip to content

Commit e020cc0

Browse files
committed
4.0.0
1 parent b9e8135 commit e020cc0

26 files changed

Lines changed: 201728 additions & 176684 deletions

dist/README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:
4343

4444
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
4545
|-----------|---------------|----------------------|---------------------|
46-
| 8.9 MB | 3.9 MB | 1.2 MB | 9.3 MB |
46+
| 9.65 MB | 4.29 MB | 1.33 MB | 10 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-4.0.0-rc.0.js
49+
> https://cdn.plot.ly/plotly-4.0.0.js
5050
51-
> https://cdn.plot.ly/plotly-4.0.0-rc.0.min.js
51+
> https://cdn.plot.ly/plotly-4.0.0.min.js
5252
5353

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.7 MB | 1.1 MB | 369.7 kB |
94+
| 2.93 MB | 1.18 MB | 397 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-4.0.0-rc.0.js
97+
> https://cdn.plot.ly/plotly-basic-4.0.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-4.0.0-rc.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-4.0.0.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.4 MB | 1.4 MB | 468.6 kB |
117+
| 3.69 MB | 1.48 MB | 498 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-4.0.0-rc.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-4.0.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-4.0.0-rc.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-4.0.0.min.js
123123
124124

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3.1 MB | 1.3 MB | 435.1 kB |
140+
| 3.37 MB | 1.38 MB | 466 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-4.0.0-rc.0.js
143+
> https://cdn.plot.ly/plotly-geo-4.0.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-4.0.0-rc.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-4.0.0.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 4.2 MB | 1.6 MB | 532.5 kB |
163+
| 4.51 MB | 1.74 MB | 560 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-4.0.0-rc.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-4.0.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-4.0.0-rc.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-4.0.0.min.js
169169
170170

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 3.9 MB | 1.5 MB | 526.5 kB |
186+
| 3.67 MB | 1.47 MB | 497 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-4.0.0-rc.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-4.0.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-4.0.0-rc.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-4.0.0.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ The `map` partial bundle contains trace modules `choroplethmap`, `densitymap`, `
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.2 MB | 2 MB | 632.3 kB |
209+
| 4.9 MB | 2.42 MB | 733 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-map-4.0.0-rc.0.js
212+
> https://cdn.plot.ly/plotly-map-4.0.0.js
213213
214-
> https://cdn.plot.ly/plotly-map-4.0.0-rc.0.min.js
214+
> https://cdn.plot.ly/plotly-map-4.0.0.min.js
215215
216216

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 2.9 MB | 1.2 MB | 403.5 kB |
232+
| 3.18 MB | 1.28 MB | 431 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-4.0.0-rc.0.js
235+
> https://cdn.plot.ly/plotly-finance-4.0.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-4.0.0-rc.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-4.0.0.min.js
238238
239239

240240
#### npm packages
@@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 9.7 MB | 4.2 MB | 1.3 MB |
255+
| 10.5 MB | 4.64 MB | 1.43 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-4.0.0-rc.0.js
258+
> https://cdn.plot.ly/plotly-strict-4.0.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-4.0.0-rc.0.min.js
260+
> https://cdn.plot.ly/plotly-strict-4.0.0.min.js
261261
262262

263263
#### npm packages

dist/plot-schema.json

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427
"requiredOpts": []
428428
},
429429
"color": {
430-
"description": "A string describing color. Supported formats: - hex (e.g. '#d3d3d3', '#d3d3d3aa') - rgb (e.g. 'rgb(255, 0, 0)', 'rgb(255 0 0)') - rgba (e.g. 'rgba(255, 0, 0, 0.5)', 'rgba(255 0 0 / 0.5)') - hsl (e.g. 'hsl(0, 100%, 50%)') - hsla (e.g. 'hsla(0, 100%, 50%, 0.5)') - hwb (e.g. 'hwb(0, 0%, 0%)') - named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)",
430+
"description": "A string describing color. Supported formats: - hex (e.g. '#d3d3d3', '#d3d3d3aa') - rgb/rgba (e.g. 'rgb(255, 0, 0)', 'rgba(255 0 0 / 0.5)') - hsl/hsla (e.g. 'hsl(0, 100%, 50%)', 'hsla(0 100% 50% / 0.5)') - hwb (e.g. 'hwb(0 0% 0%)') - lab/lch/oklab/oklch (e.g. 'oklch(0.7 0.15 180)') - color (e.g. 'color(display-p3 1 0 0)') - named colors (full list: https://www.w3.org/TR/css-color-4/#named-colors)",
431431
"otherOpts": [
432432
"dflt",
433433
"arrayOk"
@@ -1140,7 +1140,7 @@
11401140
]
11411141
},
11421142
"clickanywhere": {
1143-
"description": "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.",
1143+
"description": "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, and `xPixel` and `yPixel` with click coordinates in pixels, relative to the top-left corner of the graph div.",
11441144
"dflt": false,
11451145
"editType": "none",
11461146
"valType": "boolean"
@@ -2785,7 +2785,7 @@
27852785
"valType": "number"
27862786
},
27872787
"hoveranywhere": {
2788-
"description": "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.",
2788+
"description": "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, and `xPixel` and `yPixel` with cursor coordinates in pixels, relative to the top-left corner of the graph div. A `plotly_unhover` event fires when the cursor leaves the plot area.",
27892789
"dflt": false,
27902790
"editType": "none",
27912791
"valType": "boolean"
@@ -49859,7 +49859,7 @@
4985949859
"animatable": true,
4986049860
"attributes": {
4986149861
"anchor": {
49862-
"description": "Sets the arrows' anchor with respect to their (x,y) positions. Use *tail* to place (x,y) at the base, *tip* to place (x,y) at the head, or *center* to center the arrow on (x,y).",
49862+
"description": "Sets the vector arrows' anchor with respect to their (x,y) positions. Use *tail* to place (x,y) at the base, *tip* to place (x,y) at the head, or *center* to center the vector arrow on (x,y).",
4986349863
"dflt": "tail",
4986449864
"editType": "calc",
4986549865
"valType": "enumerated",
@@ -49869,9 +49869,9 @@
4986949869
"center"
4987049870
]
4987149871
},
49872-
"anglemode": {
49873-
"description": "Sets the mode used to determine the angle of the arrow vectors. If *paper*, u/v are interpreted in pixel coordinates and the rendered vector angle does not change regardless of the axes scales. If *data*, u/v are interpreted in data coordinates and the rendered vector angle may change, e.g. if zooming in along a single axis",
49874-
"dflt": "axis",
49872+
"arrowref": {
49873+
"description": "Determines how the u/v vector components are interpreted. If *paper*, u/v are interpreted in pixel coordinates and the rendered vector angle does not change regardless of the axis scales. If *data*, u/v are interpreted in data coordinates and the rendered vector angle may change, e.g. if zooming in along a single axis",
49874+
"dflt": "data",
4987549875
"editType": "calc",
4987649876
"valType": "enumerated",
4987749877
"values": [
@@ -50194,9 +50194,26 @@
5019450194
"min": 0,
5019550195
"valType": "number"
5019650196
},
50197+
"lengthfactor": {
50198+
"description": "Adjusts the drawn length of the vector arrows. The arrow length is determined by the values of u and v, then optionally rescaled when `lengthmode` is *scaled*, then multiplied by `lengthfactor`.",
50199+
"dflt": 1,
50200+
"editType": "calc",
50201+
"min": 0,
50202+
"valType": "number"
50203+
},
50204+
"lengthmode": {
50205+
"description": "Determines whether vector arrows are drawn according to their raw lengths, or scaled based on the maximum vector length and point density. Note: When `arrowref` is *paper* vectors are always scaled and `lengthmode` *raw* is ignored.",
50206+
"dflt": "scaled",
50207+
"editType": "calc",
50208+
"valType": "enumerated",
50209+
"values": [
50210+
"scaled",
50211+
"raw"
50212+
]
50213+
},
5019750214
"marker": {
5019850215
"arrowsize": {
50199-
"description": "Sets the size of the arrow head relative to `marker.line.width`. A value of 1 (default) gives a head about 3x as wide as the line.",
50216+
"description": "Sets the size of the vector arrowhead relative to `marker.line.width`. A value of 1 (default) gives a head about 3x as wide as the line.",
5020050217
"dflt": 1,
5020150218
"editType": "calc",
5020250219
"min": 0.3,
@@ -50879,7 +50896,7 @@
5087950896
"editType": "style",
5088050897
"role": "object",
5088150898
"width": {
50882-
"description": "Sets the width (in px) of the arrow lines.",
50899+
"description": "Sets the width (in px) of the vector arrow lines.",
5088350900
"dflt": 2,
5088450901
"editType": "style",
5088550902
"min": 0,
@@ -50962,23 +50979,6 @@
5096250979
"editType": "style",
5096350980
"valType": "boolean"
5096450981
},
50965-
"sizemode": {
50966-
"description": "Determines whether arrows are drawn according to their raw lengths, or scaled based on the maximum vector length and point density. Note: When `anglemode` is *data* arrows are alwyas scaled and `sizemode` *raw* is ignored.",
50967-
"dflt": "scaled",
50968-
"editType": "calc",
50969-
"valType": "enumerated",
50970-
"values": [
50971-
"scaled",
50972-
"raw"
50973-
]
50974-
},
50975-
"sizeref": {
50976-
"description": "Adjusts the arrow size scaling. The arrow length is determined by the vector norm multiplied by `sizeref`, optionally normalized when `sizemode` is *scaled* (`sizeref` is applied after scaling).",
50977-
"dflt": 1,
50978-
"editType": "calc",
50979-
"min": 0,
50980-
"valType": "number"
50981-
},
5098250982
"text": {
5098350983
"arrayOk": true,
5098450984
"description": "Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels.",
@@ -51105,7 +51105,7 @@
5110551105
"type": "quiver",
5110651106
"u": {
5110751107
"anim": true,
51108-
"description": "Sets the x components of the arrow vectors.",
51108+
"description": "Sets the x components of the vector arrows.",
5110951109
"editType": "calc",
5111051110
"valType": "data_array"
5111151111
},
@@ -51160,7 +51160,7 @@
5116051160
},
5116151161
"v": {
5116251162
"anim": true,
51163-
"description": "Sets the y components of the arrow vectors.",
51163+
"description": "Sets the y components of the vector arrows.",
5116451164
"editType": "calc",
5116551165
"valType": "data_array"
5116651166
},
@@ -51183,7 +51183,7 @@
5118351183
},
5118451184
"x": {
5118551185
"anim": true,
51186-
"description": "Sets the x coordinates of the arrow locations.",
51186+
"description": "Sets the x coordinates of the vector arrow locations.",
5118751187
"editType": "calc+clearAxisTypes",
5118851188
"valType": "data_array"
5118951189
},
@@ -51208,7 +51208,7 @@
5120851208
},
5120951209
"y": {
5121051210
"anim": true,
51211-
"description": "Sets the y coordinates of the arrow locations.",
51211+
"description": "Sets the y coordinates of the vector arrow locations.",
5121251212
"editType": "calc+clearAxisTypes",
5121351213
"valType": "data_array"
5121451214
},
@@ -51264,6 +51264,16 @@
5126451264
"editType": "calc",
5126551265
"valType": "data_array"
5126651266
},
51267+
"direction": {
51268+
"description": "Sets the direction of the flow along the `orientation` axis. With `forward` (the default), sources are on the left (horizontal) or top (vertical). With `reversed`, sources are on the right (horizontal) or bottom (vertical).",
51269+
"dflt": "forward",
51270+
"editType": "calc",
51271+
"valType": "enumerated",
51272+
"values": [
51273+
"forward",
51274+
"reversed"
51275+
]
51276+
},
5126751277
"domain": {
5126851278
"column": {
5126951279
"description": "If there is a layout grid, use the domain for this column in the grid for this sankey trace.",
@@ -52187,7 +52197,7 @@
5218752197
}
5218852198
},
5218952199
"orientation": {
52190-
"description": "Sets the orientation of the Sankey diagram.",
52200+
"description": "Sets the orientation of the Sankey diagram. With `h` (the default), the flow runs horizontally. With `v`, the flow runs vertically. Use `direction` to control which side the sources are placed on.",
5219152201
"dflt": "h",
5219252202
"editType": "calc",
5219352203
"valType": "enumerated",

0 commit comments

Comments
 (0)