Skip to content

Commit 0308e51

Browse files
committed
1.42.4
1 parent f40d4d5 commit 0308e51

23 files changed

+82
-64
lines changed

dist/README.md

+17-17
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.42.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.42.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.42.3.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.42.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.42.3.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.42.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`
@@ -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.42.3.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.3.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.42.4.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.42.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.42.3.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.3.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.42.4.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.42.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.42.3.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.3.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.42.4.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.42.4.min.js |
216216

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

@@ -257,8 +257,8 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
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.42.3.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.3.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.42.4.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.42.4.min.js |
262262

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

@@ -303,8 +303,8 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
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.42.3.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.3.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.42.4.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.42.4.min.js |
308308

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

@@ -349,8 +349,8 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
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.42.3.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.3.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.42.4.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.42.4.min.js |
354354

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

@@ -395,8 +395,8 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
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.42.3.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.3.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.42.4.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.42.4.min.js |
400400

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

dist/plotly-basic.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.42.3
2+
* plotly.js (basic) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33549,7 +33549,7 @@ exports.svgAttrs = {
3354933549
'use strict';
3355033550

3355133551
// package version injected by `npm run preprocess`
33552-
exports.version = '1.42.3';
33552+
exports.version = '1.42.4';
3355333553

3355433554
// inject promise polyfill
3355533555
_dereq_('es6-promise').polyfill();

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.42.3
2+
* plotly.js (cartesian) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33699,7 +33699,7 @@ exports.svgAttrs = {
3369933699
'use strict';
3370033700

3370133701
// package version injected by `npm run preprocess`
33702-
exports.version = '1.42.3';
33702+
exports.version = '1.42.4';
3370333703

3370433704
// inject promise polyfill
3370533705
_dereq_('es6-promise').polyfill();

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.42.3
2+
* plotly.js (finance) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33591,7 +33591,7 @@ exports.svgAttrs = {
3359133591
'use strict';
3359233592

3359333593
// package version injected by `npm run preprocess`
33594-
exports.version = '1.42.3';
33594+
exports.version = '1.42.4';
3359533595

3359633596
// inject promise polyfill
3359733597
_dereq_('es6-promise').polyfill();

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.42.3
2+
* plotly.js (geo) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -34328,7 +34328,7 @@ exports.svgAttrs = {
3432834328
'use strict';
3432934329

3433034330
// package version injected by `npm run preprocess`
34331-
exports.version = '1.42.3';
34331+
exports.version = '1.42.4';
3433234332

3433334333
// inject promise polyfill
3433434334
_dereq_('es6-promise').polyfill();

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.42.3
2+
* plotly.js (gl2d) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -66651,7 +66651,7 @@ exports.svgAttrs = {
6665166651
'use strict';
6665266652

6665366653
// package version injected by `npm run preprocess`
66654-
exports.version = '1.42.3';
66654+
exports.version = '1.42.4';
6665566655

6665666656
// inject promise polyfill
6665766657
_dereq_('es6-promise').polyfill();

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.

dist/plotly-gl3d.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v1.42.3
2+
* plotly.js (gl3d) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -28757,7 +28757,7 @@ var createShader = _dereq_('gl-shader')
2875728757

2875828758
var vertSrc = glslify(["precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 position, nextPosition;\nattribute float arcLength, lineWidth;\nattribute vec4 color;\n\nuniform vec2 screenShape;\nuniform float pixelRatio;\nuniform mat4 model, view, projection;\n\nvarying vec4 fragColor;\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\n\nvec4 project(vec3 p) {\n return projection * view * model * vec4(p, 1.0);\n}\n\nvoid main() {\n vec4 startPoint = project(position);\n vec4 endPoint = project(nextPosition);\n\n vec2 A = startPoint.xy / startPoint.w;\n vec2 B = endPoint.xy / endPoint.w;\n\n float clipAngle = atan(\n (B.y - A.y) * screenShape.y,\n (B.x - A.x) * screenShape.x\n );\n\n vec2 offset = 0.5 * pixelRatio * lineWidth * vec2(\n sin(clipAngle),\n -cos(clipAngle)\n ) / screenShape;\n\n gl_Position = vec4(startPoint.xy + startPoint.w * offset, startPoint.zw);\n\n worldPosition = position;\n pixelArcLength = arcLength;\n fragColor = color;\n}\n"])
2875928759
var forwardFrag = glslify(["precision mediump float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform vec3 clipBounds[2];\nuniform sampler2D dashTexture;\nuniform float dashScale;\nuniform float opacity;\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n float dashWeight = texture2D(dashTexture, vec2(dashScale * pixelArcLength, 0)).r;\n if(dashWeight < 0.5) {\n discard;\n }\n gl_FragColor = fragColor * opacity;\n}\n"])
28760-
var pickFrag = glslify(["precision mediump float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX 1.70141184e38\n#define FLOAT_MIN 1.17549435e-38\n\nlowp vec4 encode_float_1604150559(highp float v) {\n highp float av = abs(v);\n\n //Handle special cases\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n highp vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n highp float e = floor(log2(av));\n highp float m = av * pow(2.0, -e) - 1.0;\n \n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\n m -= c[2] / 32768.0;\n c[3] = floor(8388608.0 * m);\n \n //Unpack exponent\n highp float ebias = e + 127.0;\n c[0] = floor(ebias / 2.0);\n ebias -= c[0] * 2.0;\n c[1] += floor(ebias) * 128.0; \n\n //Unpack sign bit\n c[0] += 128.0 * step(0.0, -v);\n\n //Scale back to range\n return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n gl_FragColor = vec4(pickId/255.0, encode_float_1604150559(pixelArcLength).xyz);\n}"])
28760+
var pickFrag = glslify(["precision mediump float;\n#define GLSLIFY 1\n\n#define FLOAT_MAX 1.70141184e38\n#define FLOAT_MIN 1.17549435e-38\n\nlowp vec4 encode_float_1540259130(highp float v) {\n highp float av = abs(v);\n\n //Handle special cases\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(127.0, 128.0, 0.0, 0.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n highp vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n highp float e = floor(log2(av));\n highp float m = av * pow(2.0, -e) - 1.0;\n \n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\n m -= c[2] / 32768.0;\n c[3] = floor(8388608.0 * m);\n \n //Unpack exponent\n highp float ebias = e + 127.0;\n c[0] = floor(ebias / 2.0);\n ebias -= c[0] * 2.0;\n c[1] += floor(ebias) * 128.0; \n\n //Unpack sign bit\n c[0] += 128.0 * step(0.0, -v);\n\n //Scale back to range\n return c / 255.0;\n}\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n (p < min(a, b)));\n}\n\nbool outOfRange(vec2 a, vec2 b, vec2 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y));\n}\n\nbool outOfRange(vec3 a, vec3 b, vec3 p) {\n return (outOfRange(a.x, b.x, p.x) ||\n outOfRange(a.y, b.y, p.y) ||\n outOfRange(a.z, b.z, p.z));\n}\n\nbool outOfRange(vec4 a, vec4 b, vec4 p) {\n return outOfRange(a.xyz, b.xyz, p.xyz);\n}\n\nuniform float pickId;\nuniform vec3 clipBounds[2];\n\nvarying vec3 worldPosition;\nvarying float pixelArcLength;\nvarying vec4 fragColor;\n\nvoid main() {\n if (outOfRange(clipBounds[0], clipBounds[1], worldPosition)) discard;\n\n gl_FragColor = vec4(pickId/255.0, encode_float_1540259130(pixelArcLength).xyz);\n}"])
2876128761

2876228762
var ATTRIBUTES = [
2876328763
{name: 'position', type: 'vec3'},
@@ -73347,7 +73347,7 @@ exports.svgAttrs = {
7334773347
'use strict';
7334873348

7334973349
// package version injected by `npm run preprocess`
73350-
exports.version = '1.42.3';
73350+
exports.version = '1.42.4';
7335173351

7335273352
// inject promise polyfill
7335373353
_dereq_('es6-promise').polyfill();

dist/plotly-gl3d.min.js

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

dist/plotly-mapbox.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (mapbox) v1.42.3
2+
* plotly.js (mapbox) v1.42.4
33
* Copyright 2012-2018, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33578,7 +33578,7 @@ exports.svgAttrs = {
3357833578
'use strict';
3357933579

3358033580
// package version injected by `npm run preprocess`
33581-
exports.version = '1.42.3';
33581+
exports.version = '1.42.4';
3358233582

3358333583
// inject promise polyfill
3358433584
_dereq_('es6-promise').polyfill();

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