Skip to content

Commit 768b492

Browse files
committed
1.29.2
1 parent dabf1d2 commit 768b492

23 files changed

+178
-158
lines changed

dist/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
3737

3838
It be can imported as minified javascript
3939
- using dist file `dist/plotly.min.js`
40-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.29.1.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.29.2.min.js
4141

4242
or as raw javascript:
4343
- using dist file `dist/plotly.js`
44-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.29.1.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.29.2.js
4545
- using CommonJS with `require('plotly.js')`
4646

4747
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`
@@ -74,8 +74,8 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
7474
| dist bundle (minified) | `dist/plotly-basic.min.js` |
7575
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
7676
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
77-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.29.1.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.29.1.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.29.2.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.29.2.min.js |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
@@ -92,8 +92,8 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
9292
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
9393
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
9494
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
95-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.29.1.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.29.1.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.29.2.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.29.2.min.js |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
@@ -110,8 +110,8 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
110110
| dist bundle (minified) | `dist/plotly-geo.min.js` |
111111
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
112112
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
113-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.29.1.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.29.1.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.29.2.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.29.2.min.js |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
@@ -128,13 +128,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
128128
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
129129
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
130130
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
131-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.29.1.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.29.1.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.29.2.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.29.2.min.js |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
136136
|------|-----------------|------------------------|
137-
| 2.7 MB | 1.1 MB | 357.1 kB |
137+
| 2.7 MB | 1.1 MB | 357.2 kB |
138138

139139
### plotly.js gl2d
140140

@@ -146,13 +146,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `pointcloud`, `he
146146
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
147147
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
148148
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
149-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.29.1.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.29.1.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.29.2.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.29.2.min.js |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
154154
|------|-----------------|------------------------|
155-
| 2.8 MB | 1.1 MB | 366.5 kB |
155+
| 2.8 MB | 1.1 MB | 366.6 kB |
156156

157157
### plotly.js mapbox
158158

@@ -164,8 +164,8 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
164164
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
165165
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
166166
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
167-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.29.1.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.29.1.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.29.2.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.29.2.min.js |
169169
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
170170

171171
| Raw size | Minified size | Minified + gzip size |
@@ -182,8 +182,8 @@ The `finance` partial bundle contains the `scatter`, `bar`, `histogram`, `pie`,
182182
| dist bundle (minified) | `dist/plotly-finance.min.js` |
183183
| CDN URL (latest) | https://cdn.plot.ly/plotly-finance-latest.js |
184184
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-finance-latest.min.js |
185-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.29.1.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.29.1.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.29.2.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.29.2.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |

dist/npm-ls.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.29.1",
3+
"version": "1.29.2",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",
@@ -123,24 +123,24 @@
123123
}
124124
},
125125
"color-rgba": {
126-
"version": "1.1.0",
127-
"from": "color-rgba@>=1.0.4 <2.0.0",
128-
"resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-1.1.0.tgz",
126+
"version": "1.1.1",
127+
"from": "color-rgba@>=1.1.1 <2.0.0",
128+
"resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-1.1.1.tgz",
129129
"dependencies": {
130130
"clamp": {
131131
"version": "1.0.1",
132132
"from": "clamp@>=1.0.1 <2.0.0",
133133
"resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz"
134134
},
135135
"color-parse": {
136-
"version": "1.3.2",
137-
"from": "color-parse@>=1.2.0 <2.0.0",
138-
"resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.3.2.tgz",
136+
"version": "1.3.4",
137+
"from": "color-parse@>=1.3.4 <2.0.0",
138+
"resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.3.4.tgz",
139139
"dependencies": {
140140
"color-name": {
141-
"version": "1.1.2",
141+
"version": "1.1.3",
142142
"from": "color-name@>=1.0.0 <2.0.0",
143-
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.2.tgz"
143+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz"
144144
},
145145
"is-plain-obj": {
146146
"version": "1.1.0",

dist/plotly-basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.29.1
2+
* plotly.js (basic) v1.29.2
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -29234,7 +29234,7 @@ exports.svgAttrs = {
2923429234
var Plotly = require('./plotly');
2923529235

2923629236
// package version injected by `npm run preprocess`
29237-
exports.version = '1.29.1';
29237+
exports.version = '1.29.2';
2923829238

2923929239
// inject promise polyfill
2924029240
require('es6-promise').polyfill();

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.29.1
2+
* plotly.js (cartesian) v1.29.2
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -29332,7 +29332,7 @@ exports.svgAttrs = {
2933229332
var Plotly = require('./plotly');
2933329333

2933429334
// package version injected by `npm run preprocess`
29335-
exports.version = '1.29.1';
29335+
exports.version = '1.29.2';
2933629336

2933729337
// inject promise polyfill
2933829338
require('es6-promise').polyfill();

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.29.1
2+
* plotly.js (finance) v1.29.2
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -29276,7 +29276,7 @@ exports.svgAttrs = {
2927629276
var Plotly = require('./plotly');
2927729277

2927829278
// package version injected by `npm run preprocess`
29279-
exports.version = '1.29.1';
29279+
exports.version = '1.29.2';
2928029280

2928129281
// inject promise polyfill
2928229282
require('es6-promise').polyfill();

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.29.1
2+
* plotly.js (geo) v1.29.2
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -30013,7 +30013,7 @@ exports.svgAttrs = {
3001330013
var Plotly = require('./plotly');
3001430014

3001530015
// package version injected by `npm run preprocess`
30016-
exports.version = '1.29.1';
30016+
exports.version = '1.29.2';
3001730017

3001830018
// inject promise polyfill
3001930019
require('es6-promise').polyfill();

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.29.1
2+
* plotly.js (gl2d) v1.29.2
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -9046,6 +9046,8 @@ function fromNumber (n, normalized) {
90469046
}
90479047

90489048
},{"clamp":48}],52:[function(require,module,exports){
9049+
'use strict'
9050+
90499051
module.exports = {
90509052
"aliceblue": [240, 248, 255],
90519053
"antiquewhite": [250, 235, 215],
@@ -9195,8 +9197,10 @@ module.exports = {
91959197
"whitesmoke": [245, 245, 245],
91969198
"yellow": [255, 255, 0],
91979199
"yellowgreen": [154, 205, 50]
9198-
};
9200+
};
9201+
91999202
},{}],53:[function(require,module,exports){
9203+
(function (global){
92009204
/**
92019205
* @module color-parse
92029206
*/
@@ -9360,7 +9364,7 @@ function parse (cstr) {
93609364
}
93619365

93629366
//array
9363-
else if (Array.isArray(cstr) || ArrayBuffer.isView(cstr)) {
9367+
else if (Array.isArray(cstr) || global.ArrayBuffer && ArrayBuffer.isView && ArrayBuffer.isView(cstr)) {
93649368
parts = [cstr[0], cstr[1], cstr[2]];
93659369
space = 'rgb'
93669370
alpha = cstr.length === 4 ? cstr[3] : 1;
@@ -9373,6 +9377,7 @@ function parse (cstr) {
93739377
};
93749378
}
93759379

9380+
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
93769381
},{"color-name":52,"is-plain-obj":156}],54:[function(require,module,exports){
93779382
/** @module color-rgba */
93789383

@@ -9383,14 +9388,14 @@ var hsl = require('color-space/hsl')
93839388
var clamp = require('clamp')
93849389

93859390
module.exports = function rgba (color, normalize) {
9391+
if (Array.isArray(color)) return color;
9392+
93869393
if (normalize == null) normalize = true
93879394

93889395
var parsed = parse(color);
93899396

93909397
if (!parsed.space) return [];
93919398

9392-
if (Array.isArray(color)) return color;
9393-
93949399
var values = parsed.values, i, l = values.length;
93959400
for (i = 0; i < l; i++) {
93969401
values[i] = clamp(values[i], 0, 255)
@@ -24737,7 +24742,7 @@ arguments[4][47][0].apply(exports,arguments)
2473724742
},{"dup":47}],86:[function(require,module,exports){
2473824743

2473924744

24740-
exports.lineVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aHi, aLo, dHi, dLo;\n\nuniform vec2 scaleHi, translateHi, scaleLo, translateLo, screenShape;\nuniform float width;\n\nvarying vec2 direction;\n\n\nvec2 project_2_0(vec2 scHi, vec2 trHi, vec2 scLo, vec2 trLo, vec2 posHi, vec2 posLo) {\n return (posHi + trHi) * scHi\n + (posLo + trLo) * scHi\n + (posHi + trHi) * scLo\n + (posLo + trLo) * scLo;\n}\n\n\nvec2 project_1_1(vec2 scHi, vec2 scLo, vec2 posHi, vec2 posLo) {\n return scHi * posHi\n + scLo * posHi\n + scHi * posLo\n + scLo * posLo;\n}\n\nvoid main() {\n vec2 p = project_2_0(scaleHi, translateHi, scaleLo, translateLo, aHi, aLo);\n vec2 dir = project_1_1(scaleHi, scaleLo, dHi, dLo);\n vec2 n = 0.5 * width * normalize(screenShape.yx * vec2(dir.y, -dir.x)) / screenShape.xy;\n vec2 tangent = normalize(screenShape.xy * dir);\n if(dir.x < 0.0 || (dir.x == 0.0 && dir.y < 0.0)) {\n direction = -tangent;\n } else {\n direction = tangent;\n }\n gl_Position = vec4(p + n, 0.0, 1.0);\n}"
24745+
exports.lineVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aHi, aLo, dHi, dLo;\n\nuniform vec2 scaleHi, translateHi, scaleLo, translateLo, screenShape;\nuniform float width;\n\nvarying vec2 direction;\n\n\nvec2 project_1_0(vec2 scHi, vec2 trHi, vec2 scLo, vec2 trLo, vec2 posHi, vec2 posLo) {\n return (posHi + trHi) * scHi\n + (posLo + trLo) * scHi\n + (posHi + trHi) * scLo\n + (posLo + trLo) * scLo;\n}\n\n\nvec2 project_2_1(vec2 scHi, vec2 scLo, vec2 posHi, vec2 posLo) {\n return scHi * posHi\n + scLo * posHi\n + scHi * posLo\n + scLo * posLo;\n}\n\nvoid main() {\n vec2 p = project_1_0(scaleHi, translateHi, scaleLo, translateLo, aHi, aLo);\n vec2 dir = project_2_1(scaleHi, scaleLo, dHi, dLo);\n vec2 n = 0.5 * width * normalize(screenShape.yx * vec2(dir.y, -dir.x)) / screenShape.xy;\n vec2 tangent = normalize(screenShape.xy * dir);\n if(dir.x < 0.0 || (dir.x == 0.0 && dir.y < 0.0)) {\n direction = -tangent;\n } else {\n direction = tangent;\n }\n gl_Position = vec4(p + n, 0.0, 1.0);\n}"
2474124746
exports.lineFragment = "precision highp float;\n#define GLSLIFY 1\n\nuniform vec4 color;\nuniform vec2 screenShape;\nuniform sampler2D dashPattern;\nuniform float dashLength;\n\nvarying vec2 direction;\n\nvoid main() {\n float t = fract(dot(direction, gl_FragCoord.xy) / dashLength);\n vec4 pcolor = color * texture2D(dashPattern, vec2(t, 0.0)).r;\n gl_FragColor = vec4(pcolor.rgb * pcolor.a, pcolor.a);\n}"
2474224747
exports.mitreVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aHi, aLo;\n\nuniform vec2 scaleHi, translateHi, scaleLo, translateLo;\nuniform float radius;\n\n\nvec2 project_1_0(vec2 scHi, vec2 trHi, vec2 scLo, vec2 trLo, vec2 posHi, vec2 posLo) {\n return (posHi + trHi) * scHi\n + (posLo + trLo) * scHi\n + (posHi + trHi) * scLo\n + (posLo + trLo) * scLo;\n}\n\n\nvoid main() {\n vec2 p = project_1_0(scaleHi, translateHi, scaleLo, translateLo, aHi, aLo);\n gl_Position = vec4(p, 0.0, 1.0);\n gl_PointSize = radius;\n}"
2474324748
exports.mitreFragment = "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color;\n\nvoid main() {\n if(length(gl_PointCoord.xy - 0.5) > 0.25) {\n discard;\n }\n gl_FragColor = vec4(color.rgb, color.a);\n}"
@@ -65048,7 +65053,7 @@ exports.svgAttrs = {
6504865053
var Plotly = require('./plotly');
6504965054

6505065055
// package version injected by `npm run preprocess`
65051-
exports.version = '1.29.1';
65056+
exports.version = '1.29.2';
6505265057

6505365058
// inject promise polyfill
6505465059
require('es6-promise').polyfill();

dist/plotly-gl2d.min.js

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

0 commit comments

Comments
 (0)