Skip to content

Commit

Permalink
1.29.2
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed Jul 26, 2017
1 parent dabf1d2 commit 768b492
Show file tree
Hide file tree
Showing 23 changed files with 178 additions and 158 deletions.
36 changes: 18 additions & 18 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

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

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

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

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

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

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 1.1 MB | 357.1 kB |
| 2.7 MB | 1.1 MB | 357.2 kB |

### plotly.js gl2d

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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.8 MB | 1.1 MB | 366.5 kB |
| 2.8 MB | 1.1 MB | 366.6 kB |

### plotly.js mapbox

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

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

| Raw size | Minified size | Minified + gzip size |
Expand Down
18 changes: 9 additions & 9 deletions dist/npm-ls.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotly.js",
"version": "1.29.1",
"version": "1.29.2",
"dependencies": {
"3d-view": {
"version": "2.0.0",
Expand Down Expand Up @@ -123,24 +123,24 @@
}
},
"color-rgba": {
"version": "1.1.0",
"from": "color-rgba@>=1.0.4 <2.0.0",
"resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-1.1.0.tgz",
"version": "1.1.1",
"from": "color-rgba@>=1.1.1 <2.0.0",
"resolved": "https://registry.npmjs.org/color-rgba/-/color-rgba-1.1.1.tgz",
"dependencies": {
"clamp": {
"version": "1.0.1",
"from": "clamp@>=1.0.1 <2.0.0",
"resolved": "https://registry.npmjs.org/clamp/-/clamp-1.0.1.tgz"
},
"color-parse": {
"version": "1.3.2",
"from": "color-parse@>=1.2.0 <2.0.0",
"resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.3.2.tgz",
"version": "1.3.4",
"from": "color-parse@>=1.3.4 <2.0.0",
"resolved": "https://registry.npmjs.org/color-parse/-/color-parse-1.3.4.tgz",
"dependencies": {
"color-name": {
"version": "1.1.2",
"version": "1.1.3",
"from": "color-name@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.2.tgz"
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz"
},
"is-plain-obj": {
"version": "1.1.0",
Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-basic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (basic) v1.29.1
* plotly.js (basic) v1.29.2
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -29234,7 +29234,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.29.1';
exports.version = '1.29.2';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-cartesian.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (cartesian) v1.29.1
* plotly.js (cartesian) v1.29.2
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -29332,7 +29332,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.29.1';
exports.version = '1.29.2';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-finance.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (finance) v1.29.1
* plotly.js (finance) v1.29.2
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -29276,7 +29276,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.29.1';
exports.version = '1.29.2';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-finance.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/plotly-geo-assets.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/plotly-geo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (geo) v1.29.1
* plotly.js (geo) v1.29.2
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -30013,7 +30013,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.29.1';
exports.version = '1.29.2';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
4 changes: 2 additions & 2 deletions dist/plotly-geo.min.js

Large diffs are not rendered by default.

19 changes: 12 additions & 7 deletions dist/plotly-gl2d.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* plotly.js (gl2d) v1.29.1
* plotly.js (gl2d) v1.29.2
* Copyright 2012-2017, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
Expand Down Expand Up @@ -9046,6 +9046,8 @@ function fromNumber (n, normalized) {
}

},{"clamp":48}],52:[function(require,module,exports){
'use strict'

module.exports = {
"aliceblue": [240, 248, 255],
"antiquewhite": [250, 235, 215],
Expand Down Expand Up @@ -9195,8 +9197,10 @@ module.exports = {
"whitesmoke": [245, 245, 245],
"yellow": [255, 255, 0],
"yellowgreen": [154, 205, 50]
};
};

},{}],53:[function(require,module,exports){
(function (global){
/**
* @module color-parse
*/
Expand Down Expand Up @@ -9360,7 +9364,7 @@ function parse (cstr) {
}

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

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

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

module.exports = function rgba (color, normalize) {
if (Array.isArray(color)) return color;

if (normalize == null) normalize = true

var parsed = parse(color);

if (!parsed.space) return [];

if (Array.isArray(color)) return color;

var values = parsed.values, i, l = values.length;
for (i = 0; i < l; i++) {
values[i] = clamp(values[i], 0, 255)
Expand Down Expand Up @@ -24737,7 +24742,7 @@ arguments[4][47][0].apply(exports,arguments)
},{"dup":47}],86:[function(require,module,exports){


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}"
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}"
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}"
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}"
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}"
Expand Down Expand Up @@ -65048,7 +65053,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.29.1';
exports.version = '1.29.2';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
72 changes: 36 additions & 36 deletions dist/plotly-gl2d.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 768b492

Please sign in to comment.