Skip to content

Commit 564f661

Browse files
committed
1.20.1
1 parent 2204914 commit 564f661

23 files changed

+242
-389
lines changed

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-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.20.0.min.js
40+
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.20.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-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.20.0.js
44+
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.20.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.20.0.js |
78-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.20.0.min.js |
77+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.20.1.js |
78+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.20.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.20.0.js |
96-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.20.0.min.js |
95+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.20.1.js |
96+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.20.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.20.0.js |
114-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.20.0.min.js |
113+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.20.1.js |
114+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.20.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.20.0.js |
132-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.20.0.min.js |
131+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.20.1.js |
132+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.20.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.20.0.js |
150-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.20.0.min.js |
149+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.20.1.js |
150+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.20.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.20.0.js |
168-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.20.0.min.js |
167+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.20.1.js |
168+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.20.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.20.0.js |
186-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.20.0.min.js |
185+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-finance-1.20.1.js |
186+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-finance-1.20.1.min.js |
187187
| CommonJS | `require('plotly.js/lib/index-finance')` |
188188

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

dist/npm-ls.json

+42-35
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plotly.js",
3-
"version": "1.20.0",
3+
"version": "1.20.1",
44
"dependencies": {
55
"3d-view": {
66
"version": "2.0.0",
@@ -581,9 +581,9 @@
581581
}
582582
},
583583
"graceful-fs": {
584-
"version": "4.1.9",
584+
"version": "4.1.10",
585585
"from": "graceful-fs@>=4.1.2 <5.0.0",
586-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.9.tgz"
586+
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.10.tgz"
587587
},
588588
"inherits": {
589589
"version": "2.0.3",
@@ -758,7 +758,7 @@
758758
"dependencies": {
759759
"acorn": {
760760
"version": "1.2.2",
761-
"from": "acorn@>=1.0.3 <2.0.0",
761+
"from": "acorn@^1.0.3",
762762
"resolved": "https://registry.npmjs.org/acorn/-/acorn-1.2.2.tgz"
763763
},
764764
"foreach": {
@@ -881,7 +881,7 @@
881881
},
882882
"through2": {
883883
"version": "0.6.5",
884-
"from": "through2@>=0.6.3 <0.7.0",
884+
"from": "through2@^0.6.3",
885885
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz"
886886
}
887887
}
@@ -961,15 +961,15 @@
961961
},
962962
"through2": {
963963
"version": "0.6.5",
964-
"from": "through2@>=0.6.3 <0.7.0",
964+
"from": "through2@^0.6.3",
965965
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz"
966966
}
967967
}
968968
},
969969
"gl-texture2d": {
970-
"version": "2.0.11",
970+
"version": "2.0.12",
971971
"from": "gl-texture2d@>=2.0.9 <3.0.0",
972-
"resolved": "https://registry.npmjs.org/gl-texture2d/-/gl-texture2d-2.0.11.tgz"
972+
"resolved": "https://registry.npmjs.org/gl-texture2d/-/gl-texture2d-2.0.12.tgz"
973973
},
974974
"snap-points-2d": {
975975
"version": "1.0.1",
@@ -1160,7 +1160,7 @@
11601160
},
11611161
"through2": {
11621162
"version": "0.6.5",
1163-
"from": "through2@>=0.6.3 <0.7.0",
1163+
"from": "through2@^0.6.3",
11641164
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz"
11651165
}
11661166
}
@@ -1177,7 +1177,7 @@
11771177
},
11781178
"text-cache": {
11791179
"version": "4.1.0",
1180-
"from": "text-cache@>=4.0.0 <5.0.0",
1180+
"from": "text-cache@>=4.1.0 <5.0.0",
11811181
"resolved": "https://registry.npmjs.org/text-cache/-/text-cache-4.1.0.tgz"
11821182
}
11831183
}
@@ -1354,7 +1354,7 @@
13541354
},
13551355
"gl-scatter2d": {
13561356
"version": "1.2.2",
1357-
"from": "[email protected]",
1357+
"from": "gl-scatter2d@>=1.2.2 <2.0.0",
13581358
"resolved": "https://registry.npmjs.org/gl-scatter2d/-/gl-scatter2d-1.2.2.tgz",
13591359
"dependencies": {
13601360
"binary-search-bounds": {
@@ -1364,18 +1364,18 @@
13641364
},
13651365
"glslify": {
13661366
"version": "2.3.1",
1367-
"from": "glslify@^2.1.2",
1367+
"from": "glslify@>=2.1.2 <3.0.0",
13681368
"resolved": "https://registry.npmjs.org/glslify/-/glslify-2.3.1.tgz",
13691369
"dependencies": {
13701370
"bl": {
13711371
"version": "0.9.5",
1372-
"from": "bl@^0.9.4",
1372+
"from": "bl@>=0.9.4 <0.10.0",
13731373
"resolved": "https://registry.npmjs.org/bl/-/bl-0.9.5.tgz"
13741374
},
13751375
"glslify-bundle": {
13761376
"version": "2.0.4",
1377-
"from": "glslify-bundle@^2.0.4",
1378-
"resolved": "http://registry.npmjs.org/glslify-bundle/-/glslify-bundle-2.0.4.tgz"
1377+
"from": "glslify-bundle@>=2.0.4 <3.0.0",
1378+
"resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-2.0.4.tgz"
13791379
},
13801380
"through2": {
13811381
"version": "0.6.5",
@@ -1403,18 +1403,18 @@
14031403
},
14041404
"glslify": {
14051405
"version": "2.3.1",
1406-
"from": "glslify@^2.3.1",
1406+
"from": "glslify@>=2.3.1 <3.0.0",
14071407
"resolved": "https://registry.npmjs.org/glslify/-/glslify-2.3.1.tgz",
14081408
"dependencies": {
14091409
"bl": {
14101410
"version": "0.9.5",
1411-
"from": "bl@^0.9.4",
1411+
"from": "bl@>=0.9.4 <0.10.0",
14121412
"resolved": "https://registry.npmjs.org/bl/-/bl-0.9.5.tgz"
14131413
},
14141414
"glslify-bundle": {
14151415
"version": "2.0.4",
1416-
"from": "glslify-bundle@^2.0.4",
1417-
"resolved": "http://registry.npmjs.org/glslify-bundle/-/glslify-bundle-2.0.4.tgz"
1416+
"from": "glslify-bundle@>=2.0.4 <3.0.0",
1417+
"resolved": "https://registry.npmjs.org/glslify-bundle/-/glslify-bundle-2.0.4.tgz"
14181418
},
14191419
"through2": {
14201420
"version": "0.6.5",
@@ -1600,9 +1600,9 @@
16001600
"resolved": "https://registry.npmjs.org/pad-left/-/pad-left-1.0.2.tgz",
16011601
"dependencies": {
16021602
"repeat-string": {
1603-
"version": "1.5.4",
1603+
"version": "1.6.1",
16041604
"from": "repeat-string@>=1.3.0 <2.0.0",
1605-
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.5.4.tgz"
1605+
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz"
16061606
}
16071607
}
16081608
}
@@ -2007,9 +2007,9 @@
20072007
"resolved": "https://registry.npmjs.org/quickselect/-/quickselect-1.0.0.tgz"
20082008
},
20092009
"request": {
2010-
"version": "2.75.0",
2010+
"version": "2.78.0",
20112011
"from": "request@>=2.39.0 <3.0.0",
2012-
"resolved": "https://registry.npmjs.org/request/-/request-2.75.0.tgz",
2012+
"resolved": "https://registry.npmjs.org/request/-/request-2.78.0.tgz",
20132013
"dependencies": {
20142014
"aws-sign2": {
20152015
"version": "0.6.0",
@@ -2049,9 +2049,9 @@
20492049
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz"
20502050
},
20512051
"form-data": {
2052-
"version": "2.0.0",
2053-
"from": "form-data@>=2.0.0 <2.1.0",
2054-
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.0.0.tgz",
2052+
"version": "2.1.2",
2053+
"from": "form-data@>=2.1.1 <2.2.0",
2054+
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz",
20552055
"dependencies": {
20562056
"asynckit": {
20572057
"version": "0.4.0",
@@ -2324,19 +2324,26 @@
23242324
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz"
23252325
},
23262326
"qs": {
2327-
"version": "6.2.1",
2328-
"from": "qs@>=6.2.0 <6.3.0",
2329-
"resolved": "https://registry.npmjs.org/qs/-/qs-6.2.1.tgz"
2327+
"version": "6.3.0",
2328+
"from": "qs@>=6.3.0 <6.4.0",
2329+
"resolved": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz"
23302330
},
23312331
"stringstream": {
23322332
"version": "0.0.5",
23332333
"from": "stringstream@>=0.0.4 <0.1.0",
23342334
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz"
23352335
},
23362336
"tough-cookie": {
2337-
"version": "2.3.1",
2337+
"version": "2.3.2",
23382338
"from": "tough-cookie@>=2.3.0 <2.4.0",
2339-
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.1.tgz"
2339+
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz",
2340+
"dependencies": {
2341+
"punycode": {
2342+
"version": "1.4.1",
2343+
"from": "punycode@>=1.4.1 <2.0.0",
2344+
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz"
2345+
}
2346+
}
23402347
},
23412348
"tunnel-agent": {
23422349
"version": "0.4.3",
@@ -2388,9 +2395,9 @@
23882395
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
23892396
"dependencies": {
23902397
"amdefine": {
2391-
"version": "1.0.0",
2398+
"version": "1.0.1",
23922399
"from": "amdefine@>=0.0.4",
2393-
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
2400+
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz"
23942401
}
23952402
}
23962403
}
@@ -2629,7 +2636,7 @@
26292636
},
26302637
"uglify-js": {
26312638
"version": "2.7.4",
2632-
"from": "uglify-js@2.7.4",
2639+
"from": "uglify-js@>=2.6.0 <3.0.0",
26332640
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.7.4.tgz",
26342641
"dependencies": {
26352642
"async": {
@@ -2825,7 +2832,7 @@
28252832
},
28262833
"topojson-client": {
28272834
"version": "2.1.0",
2828-
"from": "topojson-client@latest",
2835+
"from": "topojson-client@>=2.1.0 <3.0.0",
28292836
"resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-2.1.0.tgz",
28302837
"dependencies": {
28312838
"commander": {

dist/plotly-basic.js

+3-37
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.20.0
2+
* plotly.js (basic) v1.20.1
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -25295,7 +25295,7 @@ exports.svgAttrs = {
2529525295
var Plotly = require('./plotly');
2529625296

2529725297
// package version injected by `npm run preprocess`
25298-
exports.version = '1.20.0';
25298+
exports.version = '1.20.1';
2529925299

2530025300
// inject promise polyfill
2530125301
require('es6-promise').polyfill();
@@ -33947,7 +33947,7 @@ axes.coercePosition = function(containerOut, gd, coerce, axRef, attr, dflt) {
3394733947
// if position is given as a category name, convert it to a number
3394833948
if(typeof pos === 'string' && (ax._categories || []).length) {
3394933949
newPos = ax._categories.indexOf(pos);
33950-
containerOut[attr] = (newPos !== -1) ? dflt : newPos;
33950+
containerOut[attr] = (newPos === -1) ? dflt : newPos;
3395133951
return;
3395233952
}
3395333953
}
@@ -47543,40 +47543,6 @@ module.exports = {
4754347543

4754447544
}
4754547545
},
47546-
// 3D attributes commented out until I finish them in a later PR
47547-
// tilt: {
47548-
// // degrees to tilt the pie back from straight on
47549-
// valType: 'number',
47550-
// min: 0,
47551-
// max: 90,
47552-
// dflt: 0
47553-
// },
47554-
// tiltaxis: {
47555-
// // degrees away from straight up to tilt the pie
47556-
// // only has an effect if tilt is nonzero
47557-
// valType: 'number',
47558-
// min: -360,
47559-
// max: 360,
47560-
// dflt: 0
47561-
// },
47562-
// depth: {
47563-
// // "3D" size, as a fraction of radius
47564-
// // only has an effect if tilt is nonzero
47565-
// valType: 'number',
47566-
// min: 0,
47567-
// max: 10,
47568-
// dflt: 0.5
47569-
// },
47570-
// shading: {
47571-
// // how much darker to make the sides than the top,
47572-
// // with a 3D effect. We could of course get all
47573-
// // fancy with lighting effects, but maybe this is
47574-
// // sufficient.
47575-
// valType: 'number',
47576-
// min: 0,
47577-
// max: 1,
47578-
// dflt: 0.2
47579-
// },
4758047546
hole: {
4758147547
valType: 'number',
4758247548

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.

0 commit comments

Comments
 (0)