Skip to content

Commit f10b777

Browse files
committed
Merge remote-tracking branch 'origin/master' into group-scattermode
2 parents fca1c11 + 9834144 commit f10b777

36 files changed

+594
-311
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,22 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [2.16.5] -- 2022-12-13
13+
14+
### Fixed
15+
- Disable slider interactions when `staticPlot` is set to true [[#6393](https://github.com/plotly/plotly.js/pull/6393)]
16+
17+
18+
## [2.16.4] -- 2022-12-07
19+
20+
### Fixed
21+
- Fix `scattermapbox` redraw (regression introduced in 2.16.0) [[#6387](https://github.com/plotly/plotly.js/pull/6387)]
22+
23+
1224
## [2.16.3] -- 2022-11-16
1325

1426
### Fixed
15-
- Fixed hover on multicategory axes [[#6360](https://github.com/plotly/plotly.js/pull/6360)],
27+
- Fix hover on multicategory axes [[#6360](https://github.com/plotly/plotly.js/pull/6360)],
1628
with thanks to @filipesantiagoAM for the contribution!
1729

1830

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.16.3.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.16.5.min.js"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script type="module">
75-
import "https://cdn.plot.ly/plotly-2.16.3.min.js"
75+
import "https://cdn.plot.ly/plotly-2.16.5.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.16.3.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.16.5.js" charset="utf-8"></script>
8686
```
8787

8888
> 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.

dist/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.4 MB | 3.5 MB | 1 MB | 8.7 MB |
4747

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

5454
#### npm packages
@@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9494
| 2.8 MB | 1004.6 kB | 326.8 kB |
9595

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

102102
#### npm packages
@@ -117,9 +117,9 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
117117
| 3.4 MB | 1.2 MB | 400.1 kB |
118118

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

125125
#### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140140
| 3.1 MB | 1.1 MB | 369.7 kB |
141141

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

148148
#### npm packages
@@ -163,9 +163,9 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
163163
| 3.9 MB | 1.6 MB | 490.6 kB |
164164

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

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

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.5 MB | 1.8 MB | 583 kB |
186+
| 4.5 MB | 1.8 MB | 583.1 kB |
187187

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

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.4 MB | 1.8 MB | 524.7 kB |
209+
| 4.4 MB | 1.8 MB | 524.9 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.16.3.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.16.5.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.16.3.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.16.5.min.js
215215
216216

217217
#### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232232
| 3 MB | 1.1 MB | 359.6 kB |
233233

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

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 8.8 MB | 3.9 MB | 1.1 MB |
256256

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

263263
#### npm packages

dist/plotly-basic.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.16.3
2+
* plotly.js (basic) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -23531,7 +23531,7 @@ module.exports = {
2353123531
calc: _dereq_('./calc'),
2353223532

2353323533
// ./scales.js is required in lib/coerce.js ;
23534-
// it needs to be a separate module to avoid circular a dependency
23534+
// it needs to be a separate module to avoid a circular dependency
2353523535
scales: scales.scales,
2353623536
defaultScale: scales.defaultScale,
2353723537
getScale: scales.get,
@@ -41987,6 +41987,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
4198741987
}
4198841988

4198941989
function attachGripEvents(item, gd, sliderGroup) {
41990+
if(gd._context.staticPlot) return;
41991+
4199041992
var node = sliderGroup.node();
4199141993
var $gd = d3.select(gd);
4199241994

@@ -85415,7 +85417,7 @@ function getSortFunc(opts, d2c) {
8541585417
'use strict';
8541685418

8541785419
// package version injected by `npm run preprocess`
85418-
exports.version = '2.16.3';
85420+
exports.version = '2.16.5';
8541985421

8542085422
},{}]},{},[8])(8)
8542185423
});

dist/plotly-basic.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-cartesian.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.16.3
2+
* plotly.js (cartesian) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -32701,7 +32701,7 @@ module.exports = {
3270132701
calc: _dereq_('./calc'),
3270232702

3270332703
// ./scales.js is required in lib/coerce.js ;
32704-
// it needs to be a separate module to avoid circular a dependency
32704+
// it needs to be a separate module to avoid a circular dependency
3270532705
scales: scales.scales,
3270632706
defaultScale: scales.defaultScale,
3270732707
getScale: scales.get,
@@ -51157,6 +51157,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
5115751157
}
5115851158

5115951159
function attachGripEvents(item, gd, sliderGroup) {
51160+
if(gd._context.staticPlot) return;
51161+
5116051162
var node = sliderGroup.node();
5116151163
var $gd = d3.select(gd);
5116251164

@@ -105661,7 +105663,7 @@ function getSortFunc(opts, d2c) {
105661105663
'use strict';
105662105664

105663105665
// package version injected by `npm run preprocess`
105664-
exports.version = '2.16.3';
105666+
exports.version = '2.16.5';
105665105667

105666105668
},{}]},{},[15])(15)
105667105669
});

dist/plotly-cartesian.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-finance.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.16.3
2+
* plotly.js (finance) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -24751,7 +24751,7 @@ module.exports = {
2475124751
calc: _dereq_('./calc'),
2475224752

2475324753
// ./scales.js is required in lib/coerce.js ;
24754-
// it needs to be a separate module to avoid circular a dependency
24754+
// it needs to be a separate module to avoid a circular dependency
2475524755
scales: scales.scales,
2475624756
defaultScale: scales.defaultScale,
2475724757
getScale: scales.get,
@@ -43207,6 +43207,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
4320743207
}
4320843208

4320943209
function attachGripEvents(item, gd, sliderGroup) {
43210+
if(gd._context.staticPlot) return;
43211+
4321043212
var node = sliderGroup.node();
4321143213
var $gd = d3.select(gd);
4321243214

@@ -93422,7 +93424,7 @@ function getSortFunc(opts, d2c) {
9342293424
'use strict';
9342393425

9342493426
// package version injected by `npm run preprocess`
93425-
exports.version = '2.16.3';
93427+
exports.version = '2.16.5';
9342693428

9342793429
},{}]},{},[12])(12)
9342893430
});

dist/plotly-finance.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo-assets.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.16.3
2+
* plotly.js (geo) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -37284,7 +37284,7 @@ module.exports = {
3728437284
calc: _dereq_('./calc'),
3728537285

3728637286
// ./scales.js is required in lib/coerce.js ;
37287-
// it needs to be a separate module to avoid circular a dependency
37287+
// it needs to be a separate module to avoid a circular dependency
3728837288
scales: scales.scales,
3728937289
defaultScale: scales.defaultScale,
3729037290
getScale: scales.get,
@@ -55740,6 +55740,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
5574055740
}
5574155741

5574255742
function attachGripEvents(item, gd, sliderGroup) {
55743+
if(gd._context.staticPlot) return;
55744+
5574355745
var node = sliderGroup.node();
5574455746
var $gd = d3.select(gd);
5574555747

@@ -98193,7 +98195,7 @@ function getSortFunc(opts, d2c) {
9819398195
'use strict';
9819498196

9819598197
// package version injected by `npm run preprocess`
98196-
exports.version = '2.16.3';
98198+
exports.version = '2.16.5';
9819798199

9819898200
},{}]},{},[8])(8)
9819998201
});

dist/plotly-geo.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-gl2d.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v2.16.3
2+
* plotly.js (gl2d) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -36999,7 +36999,7 @@ module.exports = {
3699936999
calc: _dereq_('./calc'),
3700037000

3700137001
// ./scales.js is required in lib/coerce.js ;
37002-
// it needs to be a separate module to avoid circular a dependency
37002+
// it needs to be a separate module to avoid a circular dependency
3700337003
scales: scales.scales,
3700437004
defaultScale: scales.defaultScale,
3700537005
getScale: scales.get,
@@ -55455,6 +55455,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
5545555455
}
5545655456

5545755457
function attachGripEvents(item, gd, sliderGroup) {
55458+
if(gd._context.staticPlot) return;
55459+
5545855460
var node = sliderGroup.node();
5545955461
var $gd = d3.select(gd);
5546055462

@@ -103796,7 +103798,7 @@ function getSortFunc(opts, d2c) {
103796103798
'use strict';
103797103799

103798103800
// package version injected by `npm run preprocess`
103799-
exports.version = '2.16.3';
103801+
exports.version = '2.16.5';
103800103802

103801103803
},{}],600:[function(_dereq_,module,exports){
103802103804
(function (global){(function (){

dist/plotly-gl2d.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-gl3d.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v2.16.3
2+
* plotly.js (gl3d) v2.16.5
33
* Copyright 2012-2022, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -24221,7 +24221,7 @@ module.exports = {
2422124221
calc: _dereq_('./calc'),
2422224222

2422324223
// ./scales.js is required in lib/coerce.js ;
24224-
// it needs to be a separate module to avoid circular a dependency
24224+
// it needs to be a separate module to avoid a circular dependency
2422524225
scales: scales.scales,
2422624226
defaultScale: scales.defaultScale,
2422724227
getScale: scales.get,
@@ -42677,6 +42677,8 @@ function setActive(gd, sliderGroup, sliderOpts, index, doCallback, doTransition)
4267742677
}
4267842678

4267942679
function attachGripEvents(item, gd, sliderGroup) {
42680+
if(gd._context.staticPlot) return;
42681+
4268042682
var node = sliderGroup.node();
4268142683
var $gd = d3.select(gd);
4268242684

@@ -89070,7 +89072,7 @@ function getSortFunc(opts, d2c) {
8907089072
'use strict';
8907189073

8907289074
// package version injected by `npm run preprocess`
89073-
exports.version = '2.16.3';
89075+
exports.version = '2.16.5';
8907489076

8907589077
},{}],444:[function(_dereq_,module,exports){
8907689078
(function (global){(function (){

dist/plotly-gl3d.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)