Skip to content

Commit e0be6cd

Browse files
committed
Merge branch 'master' into hoverlabel-custom
2 parents e45bff9 + 132c8ea commit e0be6cd

File tree

194 files changed

+11367
-8008
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+11367
-8008
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ https://github.com/plotly/plotly.js/compare/vX.Y.Z...master
1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

1212

13+
## [1.26.1] -- 2017-04-21
14+
15+
### Fixed
16+
- Fix `pie` fill opacity [#1615]
17+
- Fix `contour.value` declaration for `contourcarpet` trace [#1612]
18+
19+
1320
## [1.26.0] -- 2017-04-18
1421

1522
### Added

dist/README.md

+16-16
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.26.0.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.26.1.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.26.0.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.26.1.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.26.0.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.26.0.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.26.1.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.26.1.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.26.0.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.26.0.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.26.1.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.26.1.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.26.0.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.26.0.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.26.1.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.26.1.min.js |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
@@ -128,8 +128,8 @@ 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.26.0.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.26.0.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.26.1.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.26.1.min.js |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
@@ -146,8 +146,8 @@ 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.26.0.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.26.0.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.26.1.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.26.1.min.js |
151151
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
152152

153153
| Raw size | Minified size | Minified + gzip size |
@@ -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.26.0.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.26.0.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.26.1.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.26.1.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.26.0.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.26.0.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.26.1.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.26.1.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

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

dist/npm-ls.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.26.0",
3+
"version": "1.26.1",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",

dist/plotly-basic.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.26.0
2+
* plotly.js (basic) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26599,7 +26599,7 @@ exports.svgAttrs = {
2659926599
var Plotly = require('./plotly');
2660026600

2660126601
// package version injected by `npm run preprocess`
26602-
exports.version = '1.26.0';
26602+
exports.version = '1.26.1';
2660326603

2660426604
// inject promise polyfill
2660526605
require('es6-promise').polyfill();
@@ -53140,10 +53140,8 @@ module.exports = function styleOne(s, pt, trace) {
5314053140
var lineWidth = trace.marker.line.width || 0;
5314153141
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
5314253142

53143-
s.style({
53144-
'stroke-width': lineWidth,
53145-
fill: pt.color
53146-
})
53143+
s.style({'stroke-width': lineWidth})
53144+
.call(Color.fill, pt.color)
5314753145
.call(Color.stroke, lineColor);
5314853146
};
5314953147

dist/plotly-basic.min.js

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

dist/plotly-cartesian.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.26.0
2+
* plotly.js (cartesian) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26697,7 +26697,7 @@ exports.svgAttrs = {
2669726697
var Plotly = require('./plotly');
2669826698

2669926699
// package version injected by `npm run preprocess`
26700-
exports.version = '1.26.0';
26700+
exports.version = '1.26.1';
2670126701

2670226702
// inject promise polyfill
2670326703
require('es6-promise').polyfill();
@@ -59351,10 +59351,8 @@ module.exports = function styleOne(s, pt, trace) {
5935159351
var lineWidth = trace.marker.line.width || 0;
5935259352
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
5935359353

59354-
s.style({
59355-
'stroke-width': lineWidth,
59356-
fill: pt.color
59357-
})
59354+
s.style({'stroke-width': lineWidth})
59355+
.call(Color.fill, pt.color)
5935859356
.call(Color.stroke, lineColor);
5935959357
};
5936059358

dist/plotly-cartesian.min.js

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

dist/plotly-finance.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v1.26.0
2+
* plotly.js (finance) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26641,7 +26641,7 @@ exports.svgAttrs = {
2664126641
var Plotly = require('./plotly');
2664226642

2664326643
// package version injected by `npm run preprocess`
26644-
exports.version = '1.26.0';
26644+
exports.version = '1.26.1';
2664526645

2664626646
// inject promise polyfill
2664726647
require('es6-promise').polyfill();
@@ -55739,10 +55739,8 @@ module.exports = function styleOne(s, pt, trace) {
5573955739
var lineWidth = trace.marker.line.width || 0;
5574055740
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
5574155741

55742-
s.style({
55743-
'stroke-width': lineWidth,
55744-
fill: pt.color
55745-
})
55742+
s.style({'stroke-width': lineWidth})
55743+
.call(Color.fill, pt.color)
5574655744
.call(Color.stroke, lineColor);
5574755745
};
5574855746

dist/plotly-finance.min.js

+3-3
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

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v1.26.0
2+
* plotly.js (geo) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -27378,7 +27378,7 @@ exports.svgAttrs = {
2737827378
var Plotly = require('./plotly');
2737927379

2738027380
// package version injected by `npm run preprocess`
27381-
exports.version = '1.26.0';
27381+
exports.version = '1.26.1';
2738227382

2738327383
// inject promise polyfill
2738427384
require('es6-promise').polyfill();
@@ -53727,10 +53727,8 @@ module.exports = function styleOne(s, pt, trace) {
5372753727
var lineWidth = trace.marker.line.width || 0;
5372853728
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
5372953729

53730-
s.style({
53731-
'stroke-width': lineWidth,
53732-
fill: pt.color
53733-
})
53730+
s.style({'stroke-width': lineWidth})
53731+
.call(Color.fill, pt.color)
5373453732
.call(Color.stroke, lineColor);
5373553733
};
5373653734

dist/plotly-geo.min.js

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

dist/plotly-gl2d.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.26.0
2+
* plotly.js (gl2d) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -28952,7 +28952,7 @@ var ndarray = require('ndarray')
2895228952

2895328953
var nextPow2 = require('bit-twiddle').nextPow2
2895428954

28955-
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_52_arg0_<255||_inline_52_arg1_<255||_inline_52_arg2_<255||_inline_52_arg3_<255){var _inline_52_l=_inline_52_arg4_-_inline_52_arg6_[0],_inline_52_a=_inline_52_arg5_-_inline_52_arg6_[1],_inline_52_f=_inline_52_l*_inline_52_l+_inline_52_a*_inline_52_a;_inline_52_f<this_closestD2&&(this_closestD2=_inline_52_f,this_closestX=_inline_52_arg6_[0],this_closestY=_inline_52_arg6_[1])}}","args":[{"name":"_inline_52_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_52_a","_inline_52_f","_inline_52_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
28955+
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_55_arg0_<255||_inline_55_arg1_<255||_inline_55_arg2_<255||_inline_55_arg3_<255){var _inline_55_l=_inline_55_arg4_-_inline_55_arg6_[0],_inline_55_a=_inline_55_arg5_-_inline_55_arg6_[1],_inline_55_f=_inline_55_l*_inline_55_l+_inline_55_a*_inline_55_a;_inline_55_f<this_closestD2&&(this_closestD2=_inline_55_f,this_closestX=_inline_55_arg6_[0],this_closestY=_inline_55_arg6_[1])}}","args":[{"name":"_inline_55_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_55_a","_inline_55_f","_inline_55_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
2895628956

2895728957
function SelectResult(x, y, id, value, distance) {
2895828958
this.coord = [x, y]
@@ -61908,7 +61908,7 @@ exports.svgAttrs = {
6190861908
var Plotly = require('./plotly');
6190961909

6191061910
// package version injected by `npm run preprocess`
61911-
exports.version = '1.26.0';
61911+
exports.version = '1.26.1';
6191261912

6191361913
// inject promise polyfill
6191461914
require('es6-promise').polyfill();
@@ -90804,10 +90804,8 @@ module.exports = function styleOne(s, pt, trace) {
9080490804
var lineWidth = trace.marker.line.width || 0;
9080590805
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
9080690806

90807-
s.style({
90808-
'stroke-width': lineWidth,
90809-
fill: pt.color
90810-
})
90807+
s.style({'stroke-width': lineWidth})
90808+
.call(Color.fill, pt.color)
9081190809
.call(Color.stroke, lineColor);
9081290810
};
9081390811

dist/plotly-gl2d.min.js

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

dist/plotly-gl3d.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl3d) v1.26.0
2+
* plotly.js (gl3d) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -31280,7 +31280,7 @@ var ndarray = require('ndarray')
3128031280

3128131281
var nextPow2 = require('bit-twiddle').nextPow2
3128231282

31283-
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_55_arg0_<255||_inline_55_arg1_<255||_inline_55_arg2_<255||_inline_55_arg3_<255){var _inline_55_l=_inline_55_arg4_-_inline_55_arg6_[0],_inline_55_a=_inline_55_arg5_-_inline_55_arg6_[1],_inline_55_f=_inline_55_l*_inline_55_l+_inline_55_a*_inline_55_a;_inline_55_f<this_closestD2&&(this_closestD2=_inline_55_f,this_closestX=_inline_55_arg6_[0],this_closestY=_inline_55_arg6_[1])}}","args":[{"name":"_inline_55_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_55_a","_inline_55_f","_inline_55_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
31283+
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_52_arg0_<255||_inline_52_arg1_<255||_inline_52_arg2_<255||_inline_52_arg3_<255){var _inline_52_l=_inline_52_arg4_-_inline_52_arg6_[0],_inline_52_a=_inline_52_arg5_-_inline_52_arg6_[1],_inline_52_f=_inline_52_l*_inline_52_l+_inline_52_a*_inline_52_a;_inline_52_f<this_closestD2&&(this_closestD2=_inline_52_f,this_closestX=_inline_52_arg6_[0],this_closestY=_inline_52_arg6_[1])}}","args":[{"name":"_inline_52_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_52_a","_inline_52_f","_inline_52_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
3128431284

3128531285
function SelectResult(x, y, id, value, distance) {
3128631286
this.coord = [x, y]
@@ -62164,7 +62164,7 @@ exports.svgAttrs = {
6216462164
var Plotly = require('./plotly');
6216562165

6216662166
// package version injected by `npm run preprocess`
62167-
exports.version = '1.26.0';
62167+
exports.version = '1.26.1';
6216862168

6216962169
// inject promise polyfill
6217062170
require('es6-promise').polyfill();
@@ -88135,10 +88135,8 @@ module.exports = function styleOne(s, pt, trace) {
8813588135
var lineWidth = trace.marker.line.width || 0;
8813688136
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
8813788137

88138-
s.style({
88139-
'stroke-width': lineWidth,
88140-
fill: pt.color
88141-
})
88138+
s.style({'stroke-width': lineWidth})
88139+
.call(Color.fill, pt.color)
8814288140
.call(Color.stroke, lineColor);
8814388141
};
8814488142

dist/plotly-gl3d.min.js

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

dist/plotly-mapbox.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (mapbox) v1.26.0
2+
* plotly.js (mapbox) v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -60594,7 +60594,7 @@ exports.svgAttrs = {
6059460594
var Plotly = require('./plotly');
6059560595

6059660596
// package version injected by `npm run preprocess`
60597-
exports.version = '1.26.0';
60597+
exports.version = '1.26.1';
6059860598

6059960599
// inject promise polyfill
6060060600
require('es6-promise').polyfill();
@@ -85368,10 +85368,8 @@ module.exports = function styleOne(s, pt, trace) {
8536885368
var lineWidth = trace.marker.line.width || 0;
8536985369
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
8537085370

85371-
s.style({
85372-
'stroke-width': lineWidth,
85373-
fill: pt.color
85374-
})
85371+
s.style({'stroke-width': lineWidth})
85372+
.call(Color.fill, pt.color)
8537585373
.call(Color.stroke, lineColor);
8537685374
};
8537785375

dist/plotly-mapbox.min.js

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

dist/plotly-with-meta.js

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js v1.26.0
2+
* plotly.js v1.26.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -117521,7 +117521,7 @@ exports.svgAttrs = {
117521117521
var Plotly = require('./plotly');
117522117522

117523117523
// package version injected by `npm run preprocess`
117524-
exports.version = '1.26.0';
117524+
exports.version = '1.26.1';
117525117525

117526117526
// inject promise polyfill
117527117527
require('es6-promise').polyfill();
@@ -158500,7 +158500,6 @@ module.exports = extendFlat({}, {
158500158500
},
158501158501
value: {
158502158502
valType: 'any',
158503-
arrayOk: true,
158504158503
dflt: 0,
158505158504
role: 'info',
158506158505
description: [
@@ -167273,10 +167272,8 @@ module.exports = function styleOne(s, pt, trace) {
167273167272
var lineWidth = trace.marker.line.width || 0;
167274167273
if(Array.isArray(lineWidth)) lineWidth = lineWidth[pt.i] || 0;
167275167274

167276-
s.style({
167277-
'stroke-width': lineWidth,
167278-
fill: pt.color
167279-
})
167275+
s.style({'stroke-width': lineWidth})
167276+
.call(Color.fill, pt.color)
167280167277
.call(Color.stroke, lineColor);
167281167278
};
167282167279

0 commit comments

Comments
 (0)