Skip to content

Commit 04cc07e

Browse files
Merge branch 'plotly:master' into first_poc_tickmode_sync
2 parents 50165f6 + 7afe79d commit 04cc07e

28 files changed

+150
-98
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ 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.17.1] -- 2023-01-09
13+
14+
### Fixed
15+
- Fix line redraw (regression introduced in 2.15.0) [[#6429](https://github.com/plotly/plotly.js/pull/6429)]
16+
17+
1218
## [2.17.0] -- 2022-12-22
1319

1420
### Added

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.17.0.min.js"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.17.1.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.17.0.min.js"
75+
import "https://cdn.plot.ly/plotly-2.17.1.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.17.0.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.17.1.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: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.1 MB | 3.4 MB | 1 MB | 8.4 MB |
4747

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

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

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

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

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.17.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.17.1.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.17.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.17.1.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 | 362.4 kB |
141141

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

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

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

171171
#### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
186186
| 4.3 MB | 1.8 MB | 589.6 kB |
187187

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

194194
#### npm packages
@@ -209,9 +209,9 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
209209
| 4.3 MB | 1.7 MB | 519.2 kB |
210210

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

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

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

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

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

263263
#### npm packages

dist/plotly-basic.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (basic) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (basic) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -57378,7 +57378,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
5737857378
fullpath += 'Z' + thispath;
5737957379
revpath = thisrevpath + 'Z' + revpath;
5738057380
}
57381-
if (subTypes.hasLines(trace) && pts.length > 1) {
57381+
if (subTypes.hasLines(trace)) {
5738257382
var el = d3.select(this);
5738357383

5738457384
// This makes the coloring work correctly:
@@ -58881,7 +58881,7 @@ function getSortFunc(opts, d2c) {
5888158881

5888258882

5888358883
// package version injected by `npm run preprocess`
58884-
exports.version = '2.17.0';
58884+
exports.version = '2.17.1';
5888558885

5888658886
/***/ }),
5888758887

dist/plotly-basic.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-cartesian.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (cartesian) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (cartesian) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -66438,7 +66438,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
6643866438
fullpath += 'Z' + thispath;
6643966439
revpath = thisrevpath + 'Z' + revpath;
6644066440
}
66441-
if (subTypes.hasLines(trace) && pts.length > 1) {
66441+
if (subTypes.hasLines(trace)) {
6644266442
var el = d3.select(this);
6644366443

6644466444
// This makes the coloring work correctly:
@@ -69191,7 +69191,7 @@ function getSortFunc(opts, d2c) {
6919169191

6919269192

6919369193
// package version injected by `npm run preprocess`
69194-
exports.version = '2.17.0';
69194+
exports.version = '2.17.1';
6919569195

6919669196
/***/ }),
6919769197

dist/plotly-cartesian.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-finance.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (finance) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (finance) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -62979,7 +62979,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
6297962979
fullpath += 'Z' + thispath;
6298062980
revpath = thisrevpath + 'Z' + revpath;
6298162981
}
62982-
if (subTypes.hasLines(trace) && pts.length > 1) {
62982+
if (subTypes.hasLines(trace)) {
6298362983
var el = d3.select(this);
6298462984

6298562985
// This makes the coloring work correctly:
@@ -65188,7 +65188,7 @@ function getSortFunc(opts, d2c) {
6518865188

6518965189

6519065190
// package version injected by `npm run preprocess`
65191-
exports.version = '2.17.0';
65191+
exports.version = '2.17.1';
6519265192

6519365193
/***/ }),
6519465194

dist/plotly-finance.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-geo-assets.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-geo.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (geo) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (geo) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -56855,7 +56855,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
5685556855
fullpath += 'Z' + thispath;
5685656856
revpath = thisrevpath + 'Z' + revpath;
5685756857
}
56858-
if (subTypes.hasLines(trace) && pts.length > 1) {
56858+
if (subTypes.hasLines(trace)) {
5685956859
var el = d3.select(this);
5686056860

5686156861
// This makes the coloring work correctly:
@@ -58909,7 +58909,7 @@ function getSortFunc(opts, d2c) {
5890958909

5891058910

5891158911
// package version injected by `npm run preprocess`
58912-
exports.version = '2.17.0';
58912+
exports.version = '2.17.1';
5891358913

5891458914
/***/ }),
5891558915

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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (gl2d) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (gl2d) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -60015,7 +60015,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
6001560015
fullpath += 'Z' + thispath;
6001660016
revpath = thisrevpath + 'Z' + revpath;
6001760017
}
60018-
if (subTypes.hasLines(trace) && pts.length > 1) {
60018+
if (subTypes.hasLines(trace)) {
6001960019
var el = d3.select(this);
6002060020

6002160021
// This makes the coloring work correctly:
@@ -64310,7 +64310,7 @@ function getSortFunc(opts, d2c) {
6431064310

6431164311

6431264312
// package version injected by `npm run preprocess`
64313-
exports.version = '2.17.0';
64313+
exports.version = '2.17.1';
6431464314

6431564315
/***/ }),
6431664316

dist/plotly-gl2d.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-gl3d.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (gl3d) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (gl3d) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -58314,7 +58314,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
5831458314
fullpath += 'Z' + thispath;
5831558315
revpath = thisrevpath + 'Z' + revpath;
5831658316
}
58317-
if (subTypes.hasLines(trace) && pts.length > 1) {
58317+
if (subTypes.hasLines(trace)) {
5831858318
var el = d3.select(this);
5831958319

5832058320
// This makes the coloring work correctly:
@@ -62329,7 +62329,7 @@ function getSortFunc(opts, d2c) {
6232962329

6233062330

6233162331
// package version injected by `npm run preprocess`
62332-
exports.version = '2.17.0';
62332+
exports.version = '2.17.1';
6233362333

6233462334
/***/ }),
6233562335

dist/plotly-gl3d.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-mapbox.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (mapbox) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (mapbox) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -57397,7 +57397,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
5739757397
fullpath += 'Z' + thispath;
5739857398
revpath = thisrevpath + 'Z' + revpath;
5739957399
}
57400-
if (subTypes.hasLines(trace) && pts.length > 1) {
57400+
if (subTypes.hasLines(trace)) {
5740157401
var el = d3.select(this);
5740257402

5740357403
// This makes the coloring work correctly:
@@ -60003,7 +60003,7 @@ function getSortFunc(opts, d2c) {
6000360003

6000460004

6000560005
// package version injected by `npm run preprocess`
60006-
exports.version = '2.17.0';
60006+
exports.version = '2.17.1';
6000760007

6000860008
/***/ }),
6000960009

dist/plotly-mapbox.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-strict.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* plotly.js (strict) v2.17.0
3-
* Copyright 2012-2022, Plotly, Inc.
2+
* plotly.js (strict) v2.17.1
3+
* Copyright 2012-2023, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
66
*/
@@ -94766,7 +94766,7 @@ function plotOne(gd, idx, plotinfo, cdscatter, cdscatterAll, element, transition
9476694766
fullpath += 'Z' + thispath;
9476794767
revpath = thisrevpath + 'Z' + revpath;
9476894768
}
94769-
if (subTypes.hasLines(trace) && pts.length > 1) {
94769+
if (subTypes.hasLines(trace)) {
9477094770
var el = d3.select(this);
9477194771

9477294772
// This makes the coloring work correctly:
@@ -111025,7 +111025,7 @@ function getSortFunc(opts, d2c) {
111025111025

111026111026

111027111027
// package version injected by `npm run preprocess`
111028-
exports.version = '2.17.0';
111028+
exports.version = '2.17.1';
111029111029

111030111030
/***/ }),
111031111031

0 commit comments

Comments
 (0)