Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3f4f808

Browse filesBrowse files
committed
1.29.1
1 parent 88262ee commit 3f4f808
Copy full SHA for 3f4f808

23 files changed

+399
-306
lines changed

‎dist/README.md

Copy file name to clipboardExpand all lines: dist/README.md
+22-22Lines changed: 22 additions & 22 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.0.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
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.0.js
44+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.29.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`
@@ -50,7 +50,7 @@ The main plotly.js bundle weights in at:
5050

5151
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
5252
|-----------|---------------|----------------------|---------------------|
53-
| 5.4 MB | 2.2 MB | 668.9 kB | 5.6 MB |
53+
| 5.4 MB | 2.2 MB | 669 kB | 5.6 MB |
5454

5555
## Partial bundles
5656

@@ -74,13 +74,13 @@ 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.0.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.29.0.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 |
7979
| CommonJS | `require('plotly.js/lib/index-basic')` |
8080

8181
| Raw size | Minified size | Minified + gzip size |
8282
|------|-----------------|------------------------|
83-
| 1.8 MB | 672.6 kB | 218.8 kB |
83+
| 1.8 MB | 672.7 kB | 218.8 kB |
8484

8585
### plotly.js cartesian
8686

@@ -92,13 +92,13 @@ 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.0.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.29.0.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 |
9797
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9898

9999
| Raw size | Minified size | Minified + gzip size |
100100
|------|-----------------|------------------------|
101-
| 2 MB | 754.2 kB | 243.7 kB |
101+
| 2 MB | 754.5 kB | 243.8 kB |
102102

103103
### plotly.js geo
104104

@@ -110,13 +110,13 @@ 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.0.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.29.0.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 |
115115
| CommonJS | `require('plotly.js/lib/index-geo')` |
116116

117117
| Raw size | Minified size | Minified + gzip size |
118118
|------|-----------------|------------------------|
119-
| 1.8 MB | 695.4 kB | 227.2 kB |
119+
| 1.8 MB | 695.5 kB | 227.3 kB |
120120

121121
### plotly.js gl3d
122122

@@ -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.29.0.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.29.0.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 |
133133
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
134134

135135
| Raw size | Minified size | Minified + gzip size |
@@ -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.0.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.29.0.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 |
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.4 kB |
155+
| 2.8 MB | 1.1 MB | 366.5 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.0.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.29.0.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 |
169169
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
170170

171171
| Raw size | Minified size | Minified + gzip size |
@@ -182,13 +182,13 @@ 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.0.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.29.0.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 |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

189189
| Raw size | Minified size | Minified + gzip size |
190190
|------|-----------------|------------------------|
191-
| 1.9 MB | 699.9 kB | 226.4 kB |
191+
| 1.9 MB | 700 kB | 226.5 kB |
192192

193193
----------------
194194

‎dist/npm-ls.json

Copy file name to clipboardExpand all lines: dist/npm-ls.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.29.0",
3+
"version": "1.29.1",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",

‎dist/plotly-basic.js

Copy file name to clipboardExpand all lines: dist/plotly-basic.js
+18-13Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.29.0
2+
* plotly.js (basic) v1.29.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -15325,28 +15325,33 @@ module.exports = function draw(gd, id) {
1532515325
return;
1532615326
}
1532715327
var zrange = d3.extent(((typeof opts.fillcolor === 'function') ?
15328-
opts.fillcolor : opts.line.color).domain()),
15329-
linelevels = [],
15330-
filllevels = [],
15331-
l,
15332-
linecolormap = typeof opts.line.color === 'function' ?
15333-
opts.line.color : function() { return opts.line.color; },
15334-
fillcolormap = typeof opts.fillcolor === 'function' ?
15335-
opts.fillcolor : function() { return opts.fillcolor; };
15328+
opts.fillcolor : opts.line.color).domain());
15329+
var linelevels = [];
15330+
var filllevels = [];
15331+
var linecolormap = typeof opts.line.color === 'function' ?
15332+
opts.line.color : function() { return opts.line.color; };
15333+
var fillcolormap = typeof opts.fillcolor === 'function' ?
15334+
opts.fillcolor : function() { return opts.fillcolor; };
15335+
var l;
15336+
var i;
1533615337

1533715338
var l0 = opts.levels.end + opts.levels.size / 100,
1533815339
ls = opts.levels.size,
1533915340
zr0 = (1.001 * zrange[0] - 0.001 * zrange[1]),
1534015341
zr1 = (1.001 * zrange[1] - 0.001 * zrange[0]);
15341-
for(l = opts.levels.start; (l - l0) * ls < 0; l += ls) {
15342+
for(i = 0; i < 1e5; i++) {
15343+
l = opts.levels.start + i * ls;
15344+
if(ls > 0 ? (l >= l0) : (l <= l0)) break;
1534215345
if(l > zr0 && l < zr1) linelevels.push(l);
1534315346
}
1534415347

1534515348
if(typeof opts.fillcolor === 'function') {
1534615349
if(opts.filllevels) {
1534715350
l0 = opts.filllevels.end + opts.filllevels.size / 100;
1534815351
ls = opts.filllevels.size;
15349-
for(l = opts.filllevels.start; (l - l0) * ls < 0; l += ls) {
15352+
for(i = 0; i < 1e5; i++) {
15353+
l = opts.filllevels.start + i * ls;
15354+
if(ls > 0 ? (l >= l0) : (l <= l0)) break;
1535015355
if(l > zrange[0] && l < zrange[1]) filllevels.push(l);
1535115356
}
1535215357
}
@@ -29229,7 +29234,7 @@ exports.svgAttrs = {
2922929234
var Plotly = require('./plotly');
2923029235

2923129236
// package version injected by `npm run preprocess`
29232-
exports.version = '1.29.0';
29237+
exports.version = '1.29.1';
2923329238

2923429239
// inject promise polyfill
2923529240
require('es6-promise').polyfill();
@@ -41590,7 +41595,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
4159041595
labelShift = ax.ticklen * Math.sin(caRad);
4159141596
}
4159241597

41593-
if(ax.ticks === 'outside' || ax.showline) {
41598+
if(ax.showticklabels && (ax.ticks === 'outside' || ax.showline)) {
4159441599
labelStandoff += 0.2 * ax.tickfont.size;
4159541600
}
4159641601

‎dist/plotly-basic.min.js

Copy file name to clipboardExpand all lines: dist/plotly-basic.min.js
+17-17Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/plotly-cartesian.js

Copy file name to clipboardExpand all lines: dist/plotly-cartesian.js
+39-22Lines changed: 39 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.29.0
2+
* plotly.js (cartesian) v1.29.1
33
* Copyright 2012-2017, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -15423,28 +15423,33 @@ module.exports = function draw(gd, id) {
1542315423
return;
1542415424
}
1542515425
var zrange = d3.extent(((typeof opts.fillcolor === 'function') ?
15426-
opts.fillcolor : opts.line.color).domain()),
15427-
linelevels = [],
15428-
filllevels = [],
15429-
l,
15430-
linecolormap = typeof opts.line.color === 'function' ?
15431-
opts.line.color : function() { return opts.line.color; },
15432-
fillcolormap = typeof opts.fillcolor === 'function' ?
15433-
opts.fillcolor : function() { return opts.fillcolor; };
15426+
opts.fillcolor : opts.line.color).domain());
15427+
var linelevels = [];
15428+
var filllevels = [];
15429+
var linecolormap = typeof opts.line.color === 'function' ?
15430+
opts.line.color : function() { return opts.line.color; };
15431+
var fillcolormap = typeof opts.fillcolor === 'function' ?
15432+
opts.fillcolor : function() { return opts.fillcolor; };
15433+
var l;
15434+
var i;
1543415435

1543515436
var l0 = opts.levels.end + opts.levels.size / 100,
1543615437
ls = opts.levels.size,
1543715438
zr0 = (1.001 * zrange[0] - 0.001 * zrange[1]),
1543815439
zr1 = (1.001 * zrange[1] - 0.001 * zrange[0]);
15439-
for(l = opts.levels.start; (l - l0) * ls < 0; l += ls) {
15440+
for(i = 0; i < 1e5; i++) {
15441+
l = opts.levels.start + i * ls;
15442+
if(ls > 0 ? (l >= l0) : (l <= l0)) break;
1544015443
if(l > zr0 && l < zr1) linelevels.push(l);
1544115444
}
1544215445

1544315446
if(typeof opts.fillcolor === 'function') {
1544415447
if(opts.filllevels) {
1544515448
l0 = opts.filllevels.end + opts.filllevels.size / 100;
1544615449
ls = opts.filllevels.size;
15447-
for(l = opts.filllevels.start; (l - l0) * ls < 0; l += ls) {
15450+
for(i = 0; i < 1e5; i++) {
15451+
l = opts.filllevels.start + i * ls;
15452+
if(ls > 0 ? (l >= l0) : (l <= l0)) break;
1544815453
if(l > zrange[0] && l < zrange[1]) filllevels.push(l);
1544915454
}
1545015455
}
@@ -29327,7 +29332,7 @@ exports.svgAttrs = {
2932729332
var Plotly = require('./plotly');
2932829333

2932929334
// package version injected by `npm run preprocess`
29330-
exports.version = '1.29.0';
29335+
exports.version = '1.29.1';
2933129336

2933229337
// inject promise polyfill
2933329338
require('es6-promise').polyfill();
@@ -41688,7 +41693,7 @@ axes.doTicks = function(gd, axid, skipTitle) {
4168841693
labelShift = ax.ticklen * Math.sin(caRad);
4168941694
}
4169041695

41691-
if(ax.ticks === 'outside' || ax.showline) {
41696+
if(ax.showticklabels && (ax.ticks === 'outside' || ax.showline)) {
4169241697
labelStandoff += 0.2 * ax.tickfont.size;
4169341698
}
4169441699

@@ -60247,9 +60252,11 @@ module.exports = function calc(gd, trace) {
6024760252
var pos0 = pa.makeCalcdata(trace, maindata);
6024860253

6024960254
// calculate the bins
60250-
var binAttr = maindata + 'bins',
60251-
binspec;
60252-
if((trace['autobin' + maindata] !== false) || !(binAttr in trace)) {
60255+
var binAttr = maindata + 'bins';
60256+
var autoBinAttr = 'autobin' + maindata;
60257+
var binspec = trace[binAttr];
60258+
if((trace[autoBinAttr] !== false) || !binspec ||
60259+
binspec.start === null || binspec.end === null) {
6025360260
binspec = Axes.autoBin(pos0, pa, trace['nbins' + maindata], false, calendar);
6025460261

6025560262
// adjust for CDF edge cases
@@ -60264,9 +60271,11 @@ module.exports = function calc(gd, trace) {
6026460271

6026560272
// copy bin info back to the source and full data.
6026660273
trace._input[binAttr] = trace[binAttr] = binspec;
60267-
}
60268-
else {
60269-
binspec = trace[binAttr];
60274+
// note that it's possible to get here with an explicit autobin: false
60275+
// if the bins were not specified.
60276+
// in that case this will remain in the trace, so that future updates
60277+
// which would change the autobinning will not do so.
60278+
trace._input[autoBinAttr] = trace[autoBinAttr];
6027060279
}
6027160280

6027260281
var nonuniformBins = typeof binspec.size === 'string',
@@ -60757,7 +60766,8 @@ module.exports = function calc(gd, trace) {
6075760766

6075860767

6075960768
// calculate the bins
60760-
if(trace.autobinx || !('xbins' in trace)) {
60769+
if(trace.autobinx || !trace.xbins ||
60770+
trace.xbins.start === null || trace.xbins.end === null) {
6076160771
trace.xbins = Axes.autoBin(x, xa, trace.nbinsx, '2d', xcalendar);
6076260772
if(trace.type === 'histogram2dcontour') {
6076360773
// the "true" last argument reverses the tick direction (which we can't
@@ -60770,8 +60780,14 @@ module.exports = function calc(gd, trace) {
6077060780

6077160781
// copy bin info back to the source data.
6077260782
trace._input.xbins = trace.xbins;
60773-
}
60774-
if(trace.autobiny || !('ybins' in trace)) {
60783+
// note that it's possible to get here with an explicit autobin: false
60784+
// if the bins were not specified.
60785+
// in that case this will remain in the trace, so that future updates
60786+
// which would change the autobinning will not do so.
60787+
trace._input.autobinx = trace.autobinx;
60788+
}
60789+
if(trace.autobiny || !trace.ybins ||
60790+
trace.ybins.start === null || trace.ybins.end === null) {
6077560791
trace.ybins = Axes.autoBin(y, ya, trace.nbinsy, '2d', ycalendar);
6077660792
if(trace.type === 'histogram2dcontour') {
6077760793
trace.ybins.start = yc2r(Axes.tickIncrement(
@@ -60780,6 +60796,7 @@ module.exports = function calc(gd, trace) {
6078060796
yr2c(trace.ybins.end), trace.ybins.size, false, ycalendar));
6078160797
}
6078260798
trace._input.ybins = trace.ybins;
60799+
trace._input.autobiny = trace.autobiny;
6078360800
}
6078460801

6078560802
// make the empty bin array & scale the map

‎dist/plotly-cartesian.min.js

Copy file name to clipboardExpand all lines: dist/plotly-cartesian.min.js
+19-19Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.