Skip to content

Commit f24c765

Browse files
committed
1.54.0
1 parent 0066143 commit f24c765

26 files changed

+27025
-10315
lines changed

build/plotcss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var rules = {
5151
"X .select-outline": "fill:none;stroke-width:1;shape-rendering:crispEdges;",
5252
"X .select-outline-1": "stroke:white;",
5353
"X .select-outline-2": "stroke:black;stroke-dasharray:2px 2px;",
54-
Y: "font-family:'Open Sans';position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
54+
Y: "font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;",
5555
"Y p": "margin:0;",
5656
"Y .notifier-note": "min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;",
5757
"Y .notifier-close": "color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;",

dist/README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
5151
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
5252
Many other localizations are available - here is an example using Swiss-German (de-CH),
5353
see the contents of this directory for the full list.
54-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.53.0.js
54+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.54.0.js
5555
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
5656

5757
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
7474

7575
It be can imported as minified javascript
7676
- using dist file `dist/plotly.min.js`
77-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.53.0.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.54.0.min.js
7878

7979
or as raw javascript:
8080
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
8181
- using dist file `dist/plotly.js`
82-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.53.0.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.54.0.js
8383
- using CommonJS with `require('plotly.js')`
8484

8585
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:
8888

8989
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
9090
|-----------|---------------|----------------------|---------------------|
91-
| 6.9 MB | 3.2 MB | 961.9 kB | 7.2 MB |
91+
| 7 MB | 3.3 MB | 985.5 kB | 7.3 MB |
9292

9393
## Partial bundles
9494

@@ -114,16 +114,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 2.4 MB | 865.6 kB | 284.6 kB |
117+
| 2.5 MB | 888 kB | 292.5 kB |
118118

119119
#### CDN links
120120

121121
| Flavor | URL |
122122
| ------ | --- |
123123
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
124124
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
125-
| Tagged | https://cdn.plot.ly/plotly-basic-1.53.0.js |
126-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.53.0.min.js |
125+
| Tagged | https://cdn.plot.ly/plotly-basic-1.54.0.js |
126+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.54.0.min.js |
127127

128128
#### npm package (starting in `v1.39.0`)
129129

@@ -167,16 +167,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
167167

168168
| Raw size | Minified size | Minified + gzip size |
169169
|------|-----------------|------------------------|
170-
| 2.8 MB | 995.9 kB | 325.8 kB |
170+
| 2.8 MB | 1018.8 kB | 333.7 kB |
171171

172172
#### CDN links
173173

174174
| Flavor | URL |
175175
| ------ | --- |
176176
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
177177
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
178-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.53.0.js |
179-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.53.0.min.js |
178+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.54.0.js |
179+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.54.0.min.js |
180180

181181
#### npm package (starting in `v1.39.0`)
182182

@@ -220,16 +220,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
220220

221221
| Raw size | Minified size | Minified + gzip size |
222222
|------|-----------------|------------------------|
223-
| 2.5 MB | 892.4 kB | 294.1 kB |
223+
| 2.5 MB | 915.2 kB | 302.1 kB |
224224

225225
#### CDN links
226226

227227
| Flavor | URL |
228228
| ------ | --- |
229229
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
230230
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
231-
| Tagged | https://cdn.plot.ly/plotly-geo-1.53.0.js |
232-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.53.0.min.js |
231+
| Tagged | https://cdn.plot.ly/plotly-geo-1.54.0.js |
232+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.54.0.min.js |
233233

234234
#### npm package (starting in `v1.39.0`)
235235

@@ -273,16 +273,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
273273

274274
| Raw size | Minified size | Minified + gzip size |
275275
|------|-----------------|------------------------|
276-
| 3.5 MB | 1.4 MB | 443.6 kB |
276+
| 3.5 MB | 1.4 MB | 451.3 kB |
277277

278278
#### CDN links
279279

280280
| Flavor | URL |
281281
| ------ | --- |
282282
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
283283
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
284-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.53.0.js |
285-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.53.0.min.js |
284+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.54.0.js |
285+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.54.0.min.js |
286286

287287
#### npm package (starting in `v1.39.0`)
288288

@@ -326,16 +326,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
326326

327327
| Raw size | Minified size | Minified + gzip size |
328328
|------|-----------------|------------------------|
329-
| 3.5 MB | 1.4 MB | 462.4 kB |
329+
| 3.6 MB | 1.4 MB | 470.4 kB |
330330

331331
#### CDN links
332332

333333
| Flavor | URL |
334334
| ------ | --- |
335335
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
336336
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
337-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.53.0.js |
338-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.53.0.min.js |
337+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.54.0.js |
338+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.54.0.min.js |
339339

340340
#### npm package (starting in `v1.39.0`)
341341

@@ -379,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `
379379

380380
| Raw size | Minified size | Minified + gzip size |
381381
|------|-----------------|------------------------|
382-
| 3.2 MB | 1.5 MB | 466 kB |
382+
| 3.3 MB | 1.6 MB | 488.8 kB |
383383

384384
#### CDN links
385385

386386
| Flavor | URL |
387387
| ------ | --- |
388388
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
389389
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
390-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.53.0.js |
391-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.53.0.min.js |
390+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.54.0.js |
391+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.54.0.min.js |
392392

393393
#### npm package (starting in `v1.39.0`)
394394

@@ -432,16 +432,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
432432

433433
| Raw size | Minified size | Minified + gzip size |
434434
|------|-----------------|------------------------|
435-
| 2.6 MB | 953.3 kB | 309.9 kB |
435+
| 2.7 MB | 975.7 kB | 317.7 kB |
436436

437437
#### CDN links
438438

439439
| Flavor | URL |
440440
| ------ | --- |
441441
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
442442
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
443-
| Tagged | https://cdn.plot.ly/plotly-finance-1.53.0.js |
444-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.53.0.min.js |
443+
| Tagged | https://cdn.plot.ly/plotly-finance-1.54.0.js |
444+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.54.0.min.js |
445445

446446
#### npm package (starting in `v1.39.0`)
447447

dist/plot-schema.json

+154-2
Original file line numberDiff line numberDiff line change
@@ -41235,6 +41235,21 @@
4123541235
"description": "Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols.",
4123641236
"editType": "calc"
4123741237
},
41238+
"angle": {
41239+
"valType": "number",
41240+
"dflt": "auto",
41241+
"role": "style",
41242+
"arrayOk": true,
41243+
"description": "Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle.",
41244+
"editType": "calc"
41245+
},
41246+
"allowoverlap": {
41247+
"valType": "boolean",
41248+
"dflt": false,
41249+
"role": "style",
41250+
"description": "Flag to draw all symbols, even if they overlap.",
41251+
"editType": "calc"
41252+
},
4123841253
"opacity": {
4123941254
"valType": "number",
4124041255
"min": 0,
@@ -41864,6 +41879,12 @@
4186441879
"description": "Sets the source reference on Chart Studio Cloud for symbol .",
4186541880
"editType": "none"
4186641881
},
41882+
"anglesrc": {
41883+
"valType": "string",
41884+
"role": "info",
41885+
"description": "Sets the source reference on Chart Studio Cloud for angle .",
41886+
"editType": "none"
41887+
},
4186741888
"opacitysrc": {
4186841889
"valType": "string",
4186941890
"role": "info",
@@ -57469,6 +57490,114 @@
5746957490
"editType": "modebar",
5747057491
"role": "object"
5747157492
},
57493+
"newshape": {
57494+
"line": {
57495+
"color": {
57496+
"valType": "color",
57497+
"editType": "none",
57498+
"role": "info",
57499+
"description": "Sets the line color. By default uses either dark grey or white to increase contrast with background color."
57500+
},
57501+
"width": {
57502+
"valType": "number",
57503+
"min": 0,
57504+
"dflt": 4,
57505+
"role": "info",
57506+
"editType": "none",
57507+
"description": "Sets the line width (in px)."
57508+
},
57509+
"dash": {
57510+
"valType": "string",
57511+
"values": [
57512+
"solid",
57513+
"dot",
57514+
"dash",
57515+
"longdash",
57516+
"dashdot",
57517+
"longdashdot"
57518+
],
57519+
"dflt": "solid",
57520+
"role": "style",
57521+
"editType": "none",
57522+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*)."
57523+
},
57524+
"role": "object",
57525+
"editType": "none"
57526+
},
57527+
"fillcolor": {
57528+
"valType": "color",
57529+
"dflt": "rgba(0,0,0,0)",
57530+
"role": "info",
57531+
"editType": "none",
57532+
"description": "Sets the color filling new shapes' interior. Please note that if using a fillcolor with alpha greater than half, drag inside the active shape starts moving the shape underneath, otherwise a new shape could be started over."
57533+
},
57534+
"fillrule": {
57535+
"valType": "enumerated",
57536+
"values": [
57537+
"evenodd",
57538+
"nonzero"
57539+
],
57540+
"dflt": "evenodd",
57541+
"role": "info",
57542+
"editType": "none",
57543+
"description": "Determines the path's interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
57544+
},
57545+
"opacity": {
57546+
"valType": "number",
57547+
"min": 0,
57548+
"max": 1,
57549+
"dflt": 1,
57550+
"role": "info",
57551+
"editType": "none",
57552+
"description": "Sets the opacity of new shapes."
57553+
},
57554+
"layer": {
57555+
"valType": "enumerated",
57556+
"values": [
57557+
"below",
57558+
"above"
57559+
],
57560+
"dflt": "above",
57561+
"role": "info",
57562+
"editType": "none",
57563+
"description": "Specifies whether new shapes are drawn below or above traces."
57564+
},
57565+
"drawdirection": {
57566+
"valType": "enumerated",
57567+
"role": "info",
57568+
"values": [
57569+
"ortho",
57570+
"horizontal",
57571+
"vertical",
57572+
"diagonal"
57573+
],
57574+
"dflt": "diagonal",
57575+
"editType": "none",
57576+
"description": "When `dragmode` is set to *drawrect*, *drawline* or *drawcircle* this limits the drag to be horizontal, vertical or diagonal. Using *diagonal* there is no limit e.g. in drawing lines in any direction. *ortho* limits the draw to be either horizontal or vertical. *horizontal* allows horizontal extend. *vertical* allows vertical extend."
57577+
},
57578+
"editType": "none",
57579+
"role": "object"
57580+
},
57581+
"activeshape": {
57582+
"fillcolor": {
57583+
"valType": "color",
57584+
"dflt": "rgb(255,0,255)",
57585+
"role": "style",
57586+
"editType": "none",
57587+
"description": "Sets the color filling the active shape' interior."
57588+
},
57589+
"opacity": {
57590+
"valType": "number",
57591+
"min": 0,
57592+
"max": 1,
57593+
"dflt": 0.5,
57594+
"role": "info",
57595+
"editType": "none",
57596+
"description": "Sets the opacity of the active shape."
57597+
},
57598+
"editType": "none",
57599+
"role": "object"
57600+
},
5747257601
"meta": {
5747357602
"valType": "any",
5747457603
"arrayOk": true,
@@ -57598,6 +57727,11 @@
5759857727
"pan",
5759957728
"select",
5760057729
"lasso",
57730+
"drawclosedpath",
57731+
"drawopenpath",
57732+
"drawline",
57733+
"drawrect",
57734+
"drawcircle",
5760157735
"orbit",
5760257736
"turntable",
5760357737
false
@@ -57708,7 +57842,7 @@
5770857842
"any"
5770957843
],
5771057844
"dflt": "any",
57711-
"description": "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.",
57845+
"description": "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.",
5771257846
"editType": "none"
5771357847
},
5771457848
"grid": {
@@ -66817,7 +66951,25 @@
6681766951
"dflt": "rgba(0,0,0,0)",
6681866952
"role": "info",
6681966953
"editType": "arraydraw",
66820-
"description": "Sets the color filling the shape's interior."
66954+
"description": "Sets the color filling the shape's interior. Only applies to closed shapes."
66955+
},
66956+
"fillrule": {
66957+
"valType": "enumerated",
66958+
"values": [
66959+
"evenodd",
66960+
"nonzero"
66961+
],
66962+
"dflt": "evenodd",
66963+
"role": "info",
66964+
"editType": "arraydraw",
66965+
"description": "Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
66966+
},
66967+
"editable": {
66968+
"valType": "boolean",
66969+
"role": "info",
66970+
"dflt": false,
66971+
"editType": "calc+arraydraw",
66972+
"description": "Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`."
6682166973
},
6682266974
"editType": "arraydraw",
6682366975
"name": {

0 commit comments

Comments
 (0)