plotly.js 2.15.1 → 2.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,20 @@ To see all merged commits on the master branch that will be part of the next plo
9
9
 
10
10
  where X.Y.Z is the semver of most recent plotly.js release.
11
11
 
12
+ ## [2.16.1] -- 2022-10-21
13
+
14
+ ### Fixed
15
+ - Fix `choroplethmapbox` selection when adding new traces on top [[#6345](https://github.com/plotly/plotly.js/pull/6345)]
16
+
17
+
18
+ ## [2.16.0] -- 2022-10-14
19
+
20
+ ### Added
21
+ - Add clustering options to `scattermapbox` [[#5827](https://github.com/plotly/plotly.js/pull/5827)],
22
+ with thanks to @elben10 for the contribution!
23
+ - Add bounds to mapbox suplots [[6339](https://github.com/plotly/plotly.js/pull/6339)]
24
+
25
+
12
26
  ## [2.15.1] -- 2022-10-11
13
27
 
14
28
  ### Fixed
package/README.md CHANGED
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
55
55
 
56
56
  ```html
57
57
  <head>
58
- <script src="https://cdn.plot.ly/plotly-2.15.1.min.js"></script>
58
+ <script src="https://cdn.plot.ly/plotly-2.16.1.min.js"></script>
59
59
  </head>
60
60
  <body>
61
61
  <div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
72
72
  Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
73
73
  ```html
74
74
  <script type="module">
75
- import "https://cdn.plot.ly/plotly-2.15.1.min.js"
75
+ import "https://cdn.plot.ly/plotly-2.16.1.min.js"
76
76
  Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
77
77
  </script>
78
78
  ```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
82
82
  ### Un-minified versions are also available on CDN
83
83
  While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
84
84
  ```html
85
- <script src="https://cdn.plot.ly/plotly-2.15.1.js" charset="utf-8"></script>
85
+ <script src="https://cdn.plot.ly/plotly-2.16.1.js" charset="utf-8"></script>
86
86
  ```
87
87
 
88
88
  > Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
package/dist/README.md CHANGED
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
46
46
  | 8.4 MB | 3.5 MB | 1 MB | 8.7 MB |
47
47
 
48
48
  #### CDN links
49
- > https://cdn.plot.ly/plotly-2.15.1.js
49
+ > https://cdn.plot.ly/plotly-2.16.1.js
50
50
 
51
- > https://cdn.plot.ly/plotly-2.15.1.min.js
51
+ > https://cdn.plot.ly/plotly-2.16.1.min.js
52
52
 
53
53
 
54
54
  #### npm packages
@@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
94
94
  | 2.8 MB | 1004.5 kB | 326.8 kB |
95
95
 
96
96
  #### CDN links
97
- > https://cdn.plot.ly/plotly-basic-2.15.1.js
97
+ > https://cdn.plot.ly/plotly-basic-2.16.1.js
98
98
 
99
- > https://cdn.plot.ly/plotly-basic-2.15.1.min.js
99
+ > https://cdn.plot.ly/plotly-basic-2.16.1.min.js
100
100
 
101
101
 
102
102
  #### npm packages
@@ -117,9 +117,9 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
117
117
  | 3.4 MB | 1.2 MB | 400.1 kB |
118
118
 
119
119
  #### CDN links
120
- > https://cdn.plot.ly/plotly-cartesian-2.15.1.js
120
+ > https://cdn.plot.ly/plotly-cartesian-2.16.1.js
121
121
 
122
- > https://cdn.plot.ly/plotly-cartesian-2.15.1.min.js
122
+ > https://cdn.plot.ly/plotly-cartesian-2.16.1.min.js
123
123
 
124
124
 
125
125
  #### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140
140
  | 3.1 MB | 1.1 MB | 369.6 kB |
141
141
 
142
142
  #### CDN links
143
- > https://cdn.plot.ly/plotly-geo-2.15.1.js
143
+ > https://cdn.plot.ly/plotly-geo-2.16.1.js
144
144
 
145
- > https://cdn.plot.ly/plotly-geo-2.15.1.min.js
145
+ > https://cdn.plot.ly/plotly-geo-2.16.1.min.js
146
146
 
147
147
 
148
148
  #### npm packages
@@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
163
163
  | 3.9 MB | 1.6 MB | 490.5 kB |
164
164
 
165
165
  #### CDN links
166
- > https://cdn.plot.ly/plotly-gl3d-2.15.1.js
166
+ > https://cdn.plot.ly/plotly-gl3d-2.16.1.js
167
167
 
168
- > https://cdn.plot.ly/plotly-gl3d-2.15.1.min.js
168
+ > https://cdn.plot.ly/plotly-gl3d-2.16.1.min.js
169
169
 
170
170
 
171
171
  #### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
186
186
  | 4.5 MB | 1.8 MB | 583 kB |
187
187
 
188
188
  #### CDN links
189
- > https://cdn.plot.ly/plotly-gl2d-2.15.1.js
189
+ > https://cdn.plot.ly/plotly-gl2d-2.16.1.js
190
190
 
191
- > https://cdn.plot.ly/plotly-gl2d-2.15.1.min.js
191
+ > https://cdn.plot.ly/plotly-gl2d-2.16.1.min.js
192
192
 
193
193
 
194
194
  #### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206
206
 
207
207
  | Raw size | Minified size | Minified + gzip size |
208
208
  |------|-----------------|------------------------|
209
- | 4.4 MB | 1.7 MB | 523.8 kB |
209
+ | 4.4 MB | 1.8 MB | 524.7 kB |
210
210
 
211
211
  #### CDN links
212
- > https://cdn.plot.ly/plotly-mapbox-2.15.1.js
212
+ > https://cdn.plot.ly/plotly-mapbox-2.16.1.js
213
213
 
214
- > https://cdn.plot.ly/plotly-mapbox-2.15.1.min.js
214
+ > https://cdn.plot.ly/plotly-mapbox-2.16.1.min.js
215
215
 
216
216
 
217
217
  #### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232
232
  | 3 MB | 1.1 MB | 359.5 kB |
233
233
 
234
234
  #### CDN links
235
- > https://cdn.plot.ly/plotly-finance-2.15.1.js
235
+ > https://cdn.plot.ly/plotly-finance-2.16.1.js
236
236
 
237
- > https://cdn.plot.ly/plotly-finance-2.15.1.min.js
237
+ > https://cdn.plot.ly/plotly-finance-2.16.1.min.js
238
238
 
239
239
 
240
240
  #### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255
255
  | 8.8 MB | 3.9 MB | 1.1 MB |
256
256
 
257
257
  #### CDN links
258
- > https://cdn.plot.ly/plotly-strict-2.15.1.js
258
+ > https://cdn.plot.ly/plotly-strict-2.16.1.js
259
259
 
260
- > https://cdn.plot.ly/plotly-strict-2.15.1.min.js
260
+ > https://cdn.plot.ly/plotly-strict-2.16.1.min.js
261
261
 
262
262
 
263
263
  #### npm packages
@@ -3006,6 +3006,30 @@
3006
3006
  "editType": "plot",
3007
3007
  "valType": "number"
3008
3008
  },
3009
+ "bounds": {
3010
+ "east": {
3011
+ "description": "Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared.",
3012
+ "editType": "plot",
3013
+ "valType": "number"
3014
+ },
3015
+ "editType": "plot",
3016
+ "north": {
3017
+ "description": "Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared.",
3018
+ "editType": "plot",
3019
+ "valType": "number"
3020
+ },
3021
+ "role": "object",
3022
+ "south": {
3023
+ "description": "Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.",
3024
+ "editType": "plot",
3025
+ "valType": "number"
3026
+ },
3027
+ "west": {
3028
+ "description": "Sets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared.",
3029
+ "editType": "plot",
3030
+ "valType": "number"
3031
+ }
3032
+ },
3009
3033
  "center": {
3010
3034
  "editType": "plot",
3011
3035
  "lat": {
@@ -53422,6 +53446,74 @@
53422
53446
  "editType": "calc",
53423
53447
  "valType": "string"
53424
53448
  },
53449
+ "cluster": {
53450
+ "color": {
53451
+ "arrayOk": true,
53452
+ "description": "Sets the color for each cluster step.",
53453
+ "editType": "calc",
53454
+ "valType": "color"
53455
+ },
53456
+ "colorsrc": {
53457
+ "description": "Sets the source reference on Chart Studio Cloud for `color`.",
53458
+ "editType": "none",
53459
+ "valType": "string"
53460
+ },
53461
+ "editType": "calc",
53462
+ "enabled": {
53463
+ "description": "Determines whether clustering is enabled or disabled.",
53464
+ "editType": "calc",
53465
+ "valType": "boolean"
53466
+ },
53467
+ "maxzoom": {
53468
+ "description": "Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered.",
53469
+ "dflt": 24,
53470
+ "editType": "calc",
53471
+ "max": 24,
53472
+ "min": 0,
53473
+ "valType": "number"
53474
+ },
53475
+ "opacity": {
53476
+ "arrayOk": true,
53477
+ "description": "Sets the marker opacity.",
53478
+ "dflt": 1,
53479
+ "editType": "calc",
53480
+ "max": 1,
53481
+ "min": 0,
53482
+ "valType": "number"
53483
+ },
53484
+ "opacitysrc": {
53485
+ "description": "Sets the source reference on Chart Studio Cloud for `opacity`.",
53486
+ "editType": "none",
53487
+ "valType": "string"
53488
+ },
53489
+ "role": "object",
53490
+ "size": {
53491
+ "arrayOk": true,
53492
+ "description": "Sets the size for each cluster step.",
53493
+ "dflt": 20,
53494
+ "editType": "calc",
53495
+ "min": 0,
53496
+ "valType": "number"
53497
+ },
53498
+ "sizesrc": {
53499
+ "description": "Sets the source reference on Chart Studio Cloud for `size`.",
53500
+ "editType": "none",
53501
+ "valType": "string"
53502
+ },
53503
+ "step": {
53504
+ "arrayOk": true,
53505
+ "description": "Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.",
53506
+ "dflt": -1,
53507
+ "editType": "calc",
53508
+ "min": -1,
53509
+ "valType": "number"
53510
+ },
53511
+ "stepsrc": {
53512
+ "description": "Sets the source reference on Chart Studio Cloud for `step`.",
53513
+ "editType": "none",
53514
+ "valType": "string"
53515
+ }
53516
+ },
53425
53517
  "connectgaps": {
53426
53518
  "description": "Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected.",
53427
53519
  "dflt": false,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * plotly.js (basic) v2.15.1
2
+ * plotly.js (basic) v2.16.1
3
3
  * Copyright 2012-2022, Plotly, Inc.
4
4
  * All rights reserved.
5
5
  * Licensed under the MIT license
@@ -85405,7 +85405,7 @@ function getSortFunc(opts, d2c) {
85405
85405
  'use strict';
85406
85406
 
85407
85407
  // package version injected by `npm run preprocess`
85408
- exports.version = '2.15.1';
85408
+ exports.version = '2.16.1';
85409
85409
 
85410
85410
  },{}]},{},[8])(8)
85411
85411
  });