Skip to content

Commit 884d2fa

Browse files
committedFeb 12, 2019
1.44.4
1 parent 703c1d1 commit 884d2fa

23 files changed

+229
-79
lines changed
 

‎dist/README.md

+22-22
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.44.3.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.44.4.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.44.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.44.4.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.44.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.44.4.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://plot.ly/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.1 MB | 2.8 MB | 849.3 kB | 6.3 MB |
91+
| 6.1 MB | 2.8 MB | 849.5 kB | 6.3 MB |
9292

9393
## Partial bundles
9494

@@ -119,8 +119,8 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
119119
| ------ | --- |
120120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.44.3.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.44.3.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.44.4.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.44.4.min.js |
124124

125125
#### npm package (starting in `v1.39.0`)
126126

@@ -165,8 +165,8 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
165165
| ------ | --- |
166166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.44.3.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.44.3.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.44.4.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.44.4.min.js |
170170

171171
#### npm package (starting in `v1.39.0`)
172172

@@ -211,8 +211,8 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
211211
| ------ | --- |
212212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.44.3.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.44.3.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.44.4.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.44.4.min.js |
216216

217217
#### npm package (starting in `v1.39.0`)
218218

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

250250
| Raw size | Minified size | Minified + gzip size |
251251
|------|-----------------|------------------------|
252-
| 3.4 MB | 1.3 MB | 425.1 kB |
252+
| 3.4 MB | 1.3 MB | 425.2 kB |
253253

254254
#### CDN links
255255

256256
| Flavor | URL |
257257
| ------ | --- |
258258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.44.3.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.44.3.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.44.4.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.44.4.min.js |
262262

263263
#### npm package (starting in `v1.39.0`)
264264

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

296296
| Raw size | Minified size | Minified + gzip size |
297297
|------|-----------------|------------------------|
298-
| 3.4 MB | 1.4 MB | 442.5 kB |
298+
| 3.4 MB | 1.4 MB | 442.6 kB |
299299

300300
#### CDN links
301301

302302
| Flavor | URL |
303303
| ------ | --- |
304304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.44.3.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.44.3.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.44.4.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.44.4.min.js |
308308

309309
#### npm package (starting in `v1.39.0`)
310310

@@ -341,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.4 MB | 410.7 kB |
344+
| 2.8 MB | 1.4 MB | 410.8 kB |
345345

346346
#### CDN links
347347

348348
| Flavor | URL |
349349
| ------ | --- |
350350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.44.3.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.44.3.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.44.4.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.44.4.min.js |
354354

355355
#### npm package (starting in `v1.39.0`)
356356

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

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.4 MB | 843.4 kB | 274.8 kB |
390+
| 2.4 MB | 843.5 kB | 274.9 kB |
391391

392392
#### CDN links
393393

394394
| Flavor | URL |
395395
| ------ | --- |
396396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.44.3.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.44.3.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.44.4.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.44.4.min.js |
400400

401401
#### npm package (starting in `v1.39.0`)
402402

‎dist/plotly-basic.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.44.3
2+
* plotly.js (basic) v1.44.4
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -15655,6 +15655,9 @@ function drawOne(gd, index) {
1565515655
var xa = Axes.getFromId(gd, options.xref);
1565615656
var ya = Axes.getFromId(gd, options.yref);
1565715657

15658+
if(xa) xa.setScale();
15659+
if(ya) ya.setScale();
15660+
1565815661
drawRaw(gd, options, index, false, xa, ya);
1565915662
}
1566015663

@@ -33772,7 +33775,7 @@ exports.svgAttrs = {
3377233775
'use strict';
3377333776

3377433777
// package version injected by `npm run preprocess`
33775-
exports.version = '1.44.3';
33778+
exports.version = '1.44.4';
3377633779

3377733780
// inject promise polyfill
3377833781
_dereq_('es6-promise').polyfill();
@@ -43925,7 +43928,7 @@ function getTraceIndexFromUid(uid, data, tracei) {
4392543928
if(data[i].uid === uid) return i;
4392643929
}
4392743930
// fall back on trace order, but only if user didn't provide a uid for that trace
43928-
return data[tracei].uid ? -1 : tracei;
43931+
return (!data[tracei] || data[tracei].uid) ? -1 : tracei;
4392943932
}
4393043933

4393143934
function valsMatch(v1, v2) {

‎dist/plotly-basic.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-cartesian.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.44.3
2+
* plotly.js (cartesian) v1.44.4
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -15767,6 +15767,9 @@ function drawOne(gd, index) {
1576715767
var xa = Axes.getFromId(gd, options.xref);
1576815768
var ya = Axes.getFromId(gd, options.yref);
1576915769

15770+
if(xa) xa.setScale();
15771+
if(ya) ya.setScale();
15772+
1577015773
drawRaw(gd, options, index, false, xa, ya);
1577115774
}
1577215775

@@ -33922,7 +33925,7 @@ exports.svgAttrs = {
3392233925
'use strict';
3392333926

3392433927
// package version injected by `npm run preprocess`
33925-
exports.version = '1.44.3';
33928+
exports.version = '1.44.4';
3392633929

3392733930
// inject promise polyfill
3392833931
_dereq_('es6-promise').polyfill();
@@ -44075,7 +44078,7 @@ function getTraceIndexFromUid(uid, data, tracei) {
4407544078
if(data[i].uid === uid) return i;
4407644079
}
4407744080
// fall back on trace order, but only if user didn't provide a uid for that trace
44078-
return data[tracei].uid ? -1 : tracei;
44081+
return (!data[tracei] || data[tracei].uid) ? -1 : tracei;
4407944082
}
4408044083

4408144084
function valsMatch(v1, v2) {

‎dist/plotly-cartesian.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-finance.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.44.3
2+
* plotly.js (finance) v1.44.4
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -15697,6 +15697,9 @@ function drawOne(gd, index) {
1569715697
var xa = Axes.getFromId(gd, options.xref);
1569815698
var ya = Axes.getFromId(gd, options.yref);
1569915699

15700+
if(xa) xa.setScale();
15701+
if(ya) ya.setScale();
15702+
1570015703
drawRaw(gd, options, index, false, xa, ya);
1570115704
}
1570215705

@@ -33814,7 +33817,7 @@ exports.svgAttrs = {
3381433817
'use strict';
3381533818

3381633819
// package version injected by `npm run preprocess`
33817-
exports.version = '1.44.3';
33820+
exports.version = '1.44.4';
3381833821

3381933822
// inject promise polyfill
3382033823
_dereq_('es6-promise').polyfill();
@@ -43967,7 +43970,7 @@ function getTraceIndexFromUid(uid, data, tracei) {
4396743970
if(data[i].uid === uid) return i;
4396843971
}
4396943972
// fall back on trace order, but only if user didn't provide a uid for that trace
43970-
return data[tracei].uid ? -1 : tracei;
43973+
return (!data[tracei] || data[tracei].uid) ? -1 : tracei;
4397143974
}
4397243975

4397343976
function valsMatch(v1, v2) {
@@ -70355,6 +70358,9 @@ function getClosestPoint(pointData, xval, yval, hovermode) {
7035570358
if(pointData.index === false) return null;
7035670359

7035770360
var di = cd[pointData.index];
70361+
70362+
if(di.empty) return null;
70363+
7035870364
var dir = di.dir;
7035970365
var container = trace[dir];
7036070366
var lc = container.line.color;

‎dist/plotly-finance.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-geo-assets.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-geo.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.44.3
2+
* plotly.js (geo) v1.44.4
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -16434,6 +16434,9 @@ function drawOne(gd, index) {
1643416434
var xa = Axes.getFromId(gd, options.xref);
1643516435
var ya = Axes.getFromId(gd, options.yref);
1643616436

16437+
if(xa) xa.setScale();
16438+
if(ya) ya.setScale();
16439+
1643716440
drawRaw(gd, options, index, false, xa, ya);
1643816441
}
1643916442

@@ -34551,7 +34554,7 @@ exports.svgAttrs = {
3455134554
'use strict';
3455234555

3455334556
// package version injected by `npm run preprocess`
34554-
exports.version = '1.44.3';
34557+
exports.version = '1.44.4';
3455534558

3455634559
// inject promise polyfill
3455734560
_dereq_('es6-promise').polyfill();
@@ -44919,7 +44922,7 @@ function getTraceIndexFromUid(uid, data, tracei) {
4491944922
if(data[i].uid === uid) return i;
4492044923
}
4492144924
// fall back on trace order, but only if user didn't provide a uid for that trace
44922-
return data[tracei].uid ? -1 : tracei;
44925+
return (!data[tracei] || data[tracei].uid) ? -1 : tracei;
4492344926
}
4492444927

4492544928
function valsMatch(v1, v2) {

‎dist/plotly-geo.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-gl2d.js

+19-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.44.3
2+
* plotly.js (gl2d) v1.44.4
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -48961,6 +48961,9 @@ function drawOne(gd, index) {
4896148961
var xa = Axes.getFromId(gd, options.xref);
4896248962
var ya = Axes.getFromId(gd, options.yref);
4896348963

48964+
if(xa) xa.setScale();
48965+
if(ya) ya.setScale();
48966+
4896448967
drawRaw(gd, options, index, false, xa, ya);
4896548968
}
4896648969

@@ -67116,7 +67119,7 @@ exports.svgAttrs = {
6711667119
'use strict';
6711767120

6711867121
// package version injected by `npm run preprocess`
67119-
exports.version = '1.44.3';
67122+
exports.version = '1.44.4';
6712067123

6712167124
// inject promise polyfill
6712267125
_dereq_('es6-promise').polyfill();
@@ -77570,7 +77573,7 @@ function getTraceIndexFromUid(uid, data, tracei) {
7757077573
if(data[i].uid === uid) return i;
7757177574
}
7757277575
// fall back on trace order, but only if user didn't provide a uid for that trace
77573-
return data[tracei].uid ? -1 : tracei;
77576+
return (!data[tracei] || data[tracei].uid) ? -1 : tracei;
7757477577
}
7757577578

7757677579
function valsMatch(v1, v2) {
@@ -110202,6 +110205,19 @@ function plot(gd, subplot, cdata) {
110202110205

110203110206
// update main marker options
110204110207
if(scene.glText) {
110208+
if(scene.count > scene.glText.length) {
110209+
// add gl text marker
110210+
var textsToAdd = scene.count - scene.glText.length;
110211+
for(i = 0; i < textsToAdd; i++) {
110212+
scene.glText.push(new Text(regl));
110213+
}
110214+
} else if(scene.count < scene.glText.length) {
110215+
// remove gl text marker
110216+
var textsToRemove = scene.glText.length - scene.count;
110217+
var removedTexts = scene.glText.splice(scene.count, textsToRemove);
110218+
removedTexts.forEach(function(text) { text.destroy(); });
110219+
}
110220+
110205110221
for(i = 0; i < scene.count; i++) {
110206110222
scene.glText[i].update(scene.textOptions[i]);
110207110223
}

‎dist/plotly-gl2d.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)