Skip to content

Commit 26b2b24

Browse files
committed
1.16.5
1 parent ac9a4be commit 26b2b24

20 files changed

+144
-264
lines changed

dist/README.md

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

3737
It be can imported as minified javascript
3838
- using dist file `dist/plotly.min.js`
39-
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.16.4.min.js
39+
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.min.js OR https://cdn.plot.ly/plotly-plotly-1.16.5.min.js
4040

4141
or as raw javascript:
4242
- using dist file `dist/plotly.js`
43-
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.16.4.js
43+
- using CDN URL https://cdn.plot.ly/plotly-plotly-latest.js OR https://cdn.plot.ly/plotly-plotly-1.16.5.js
4444
- using CommonJS with `require('plotly.js')`
4545

4646
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`
@@ -72,8 +72,8 @@ The `basic` partial bundle contains the `scatter`, `bar` and `pie` trace modules
7272
| dist bundle (minified) | `dist/plotly-basic.min.js` |
7373
| CDN URL (latest) | https://cdn.plot.ly/plotly-basic-latest.js |
7474
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-basic-latest.min.js |
75-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.16.4.js |
76-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.16.4.min.js |
75+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-basic-1.16.5.js |
76+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-basic-1.16.5.min.js |
7777
| CommonJS | `require('plotly.js/lib/index-basic')` |
7878

7979
| Raw size | Minified size | Minified + gzip size |
@@ -90,8 +90,8 @@ The `cartesian` partial bundle contains the `scatter`, `bar`, `box`, `heatmap`,
9090
| dist bundle (minified) | `dist/plotly-cartesian.min.js` |
9191
| CDN URL (latest) | https://cdn.plot.ly/plotly-cartesian-latest.js |
9292
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
93-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.16.4.js |
94-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.16.4.min.js |
93+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-cartesian-1.16.5.js |
94+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-cartesian-1.16.5.min.js |
9595
| CommonJS | `require('plotly.js/lib/index-cartesian')` |
9696

9797
| Raw size | Minified size | Minified + gzip size |
@@ -108,8 +108,8 @@ The `geo` partial bundle contains the `scatter`, `scattergeo` and `choropleth` t
108108
| dist bundle (minified) | `dist/plotly-geo.min.js` |
109109
| CDN URL (latest) | https://cdn.plot.ly/plotly-geo-latest.js |
110110
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-geo-latest.min.js |
111-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.16.4.js |
112-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.16.4.min.js |
111+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-geo-1.16.5.js |
112+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-geo-1.16.5.min.js |
113113
| CommonJS | `require('plotly.js/lib/index-geo')` |
114114

115115
| Raw size | Minified size | Minified + gzip size |
@@ -126,13 +126,13 @@ The `gl3d` partial bundle contains the `scatter`, `scatter3d`, `surface` and `me
126126
| dist bundle (minified) | `dist/plotly-gl3d.min.js` |
127127
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl3d-latest.js |
128128
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
129-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.16.4.js |
130-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.16.4.min.js |
129+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl3d-1.16.5.js |
130+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl3d-1.16.5.min.js |
131131
| CommonJS | `require('plotly.js/lib/index-gl3d')` |
132132

133133
| Raw size | Minified size | Minified + gzip size |
134134
|------|-----------------|------------------------|
135-
| 2.3 MB | 985.6 kB | 310.8 kB |
135+
| 2.3 MB | 985.2 kB | 310.7 kB |
136136

137137
### plotly.js gl2d
138138

@@ -144,13 +144,13 @@ The `gl2d` partial bundle contains the `scatter`, `scattergl`, `heatmapgl` and `
144144
| dist bundle (minified) | `dist/plotly-gl2d.min.js` |
145145
| CDN URL (latest) | https://cdn.plot.ly/plotly-gl2d-latest.js |
146146
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
147-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.16.4.js |
148-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.16.4.min.js |
147+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-gl2d-1.16.5.js |
148+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-gl2d-1.16.5.min.js |
149149
| CommonJS | `require('plotly.js/lib/index-gl2d')` |
150150

151151
| Raw size | Minified size | Minified + gzip size |
152152
|------|-----------------|------------------------|
153-
| 2 MB | 855.8 kB | 271.3 kB |
153+
| 2 MB | 855.5 kB | 271.2 kB |
154154

155155
### plotly.js mapbox
156156

@@ -162,8 +162,8 @@ The `mapbox` partial bundle contains the `scatter` and `scattermapbox` trace mod
162162
| dist bundle (minified) | `dist/plotly-mapbox.min.js` |
163163
| CDN URL (latest) | https://cdn.plot.ly/plotly-mapbox-latest.js |
164164
| CDN URL (latest minified) | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
165-
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.16.4.js |
166-
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.16.4.min.js |
165+
| CDN URL (tagged) | https://cdn.plot.ly/plotly-mapbox-1.16.5.js |
166+
| CDN URL (tagged minified) | https://cdn.plot.ly/plotly-mapbox-1.16.5.min.js |
167167
| CommonJS | `require('plotly.js/lib/index-mapbox')` |
168168

169169
| Raw size | Minified size | Minified + gzip size |

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.16.4
2+
* plotly.js (basic) v1.16.5
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -23237,7 +23237,7 @@ exports.svgAttrs = {
2323723237
var Plotly = require('./plotly');
2323823238

2323923239
// package version injected by `npm run preprocess`
23240-
exports.version = '1.16.4';
23240+
exports.version = '1.16.5';
2324123241

2324223242
// plot api
2324323243
exports.plot = Plotly.plot;

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.16.4
2+
* plotly.js (cartesian) v1.16.5
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -23321,7 +23321,7 @@ exports.svgAttrs = {
2332123321
var Plotly = require('./plotly');
2332223322

2332323323
// package version injected by `npm run preprocess`
23324-
exports.version = '1.16.4';
23324+
exports.version = '1.16.5';
2332523325

2332623326
// plot api
2332723327
exports.plot = Plotly.plot;

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-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.16.4
2+
* plotly.js (geo) v1.16.5
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -24045,7 +24045,7 @@ exports.svgAttrs = {
2404524045
var Plotly = require('./plotly');
2404624046

2404724047
// package version injected by `npm run preprocess`
24048-
exports.version = '1.16.4';
24048+
exports.version = '1.16.5';
2404924049

2405024050
// plot api
2405124051
exports.plot = Plotly.plot;

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: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v1.16.4
2+
* plotly.js (gl2d) v1.16.5
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -24519,7 +24519,7 @@ var ndarray = require('ndarray')
2451924519

2452024520
var nextPow2 = require('bit-twiddle').nextPow2
2452124521

24522-
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(255>_inline_52_arg0_||255>_inline_52_arg1_||255>_inline_52_arg2_||255>_inline_52_arg3_){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})
24522+
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(255>_inline_46_arg0_||255>_inline_46_arg1_||255>_inline_46_arg2_||255>_inline_46_arg3_){var _inline_46_l=_inline_46_arg4_-_inline_46_arg6_[0],_inline_46_a=_inline_46_arg5_-_inline_46_arg6_[1],_inline_46_f=_inline_46_l*_inline_46_l+_inline_46_a*_inline_46_a;_inline_46_f<this_closestD2&&(this_closestD2=_inline_46_f,this_closestX=_inline_46_arg6_[0],this_closestY=_inline_46_arg6_[1])}}","args":[{"name":"_inline_46_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_46_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_46_a","_inline_46_f","_inline_46_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})
2452324523

2452424524
function SelectResult(x, y, id, value, distance) {
2452524525
this.coord = [x, y]
@@ -24676,7 +24676,6 @@ var GLError = require("./lib/GLError")
2467624676
//Shader object
2467724677
function Shader(gl) {
2467824678
this.gl = gl
24679-
this.gl.lastAttribCount = 0 // fixme where else should we store info, safe but not nice on the gl object
2468024679

2468124680
//Default initialize these to null
2468224681
this._vref =
@@ -24696,38 +24695,10 @@ proto.bind = function() {
2469624695
if(!this.program) {
2469724696
this._relink()
2469824697
}
24699-
24700-
// ensuring that we have the right number of enabled vertex attributes
24701-
var i
24702-
var newAttribCount = this.gl.getProgramParameter(this.program, this.gl.ACTIVE_ATTRIBUTES) // more robust approach
24703-
//var newAttribCount = Object.keys(this.attributes).length // avoids the probably immaterial introspection slowdown
24704-
var oldAttribCount = this.gl.lastAttribCount
24705-
if(newAttribCount > oldAttribCount) {
24706-
for(i = oldAttribCount; i < newAttribCount; i++) {
24707-
this.gl.enableVertexAttribArray(i)
24708-
}
24709-
} else if(oldAttribCount > newAttribCount) {
24710-
for(i = newAttribCount; i < oldAttribCount; i++) {
24711-
this.gl.disableVertexAttribArray(i)
24712-
}
24713-
}
24714-
24715-
this.gl.lastAttribCount = newAttribCount
24716-
2471724698
this.gl.useProgram(this.program)
2471824699
}
2471924700

2472024701
proto.dispose = function() {
24721-
24722-
// disabling vertex attributes so new shader starts with zero
24723-
// and it's also useful if all shaders are disposed but the
24724-
// gl context is reused for subsequent replotting
24725-
var oldAttribCount = this.gl.lastAttribCount
24726-
for (var i = 0; i < oldAttribCount; i++) {
24727-
this.gl.disableVertexAttribArray(i)
24728-
}
24729-
this.gl.lastAttribCount = 0
24730-
2473124702
if(this._fref) {
2473224703
this._fref.dispose()
2473324704
}
@@ -24814,8 +24785,7 @@ proto.update = function(
2481424785
var attributeUnpacked = []
2481524786
var attributeNames = []
2481624787
var attributeLocations = []
24817-
var i
24818-
for(i=0; i<attributes.length; ++i) {
24788+
for(var i=0; i<attributes.length; ++i) {
2481924789
var attr = attributes[i]
2482024790
if(attr.type.indexOf('mat') >= 0) {
2482124791
var size = attr.type.charAt(attr.type.length-1)|0
@@ -24855,7 +24825,7 @@ proto.update = function(
2485524825

2485624826
//For all unspecified attributes, assign them lexicographically min attribute
2485724827
var curLocation = 0
24858-
for(i=0; i<attributeLocations.length; ++i) {
24828+
for(var i=0; i<attributeLocations.length; ++i) {
2485924829
if(attributeLocations[i] < 0) {
2486024830
while(attributeLocations.indexOf(curLocation) >= 0) {
2486124831
curLocation += 1
@@ -46523,7 +46493,7 @@ exports.svgAttrs = {
4652346493
var Plotly = require('./plotly');
4652446494

4652546495
// package version injected by `npm run preprocess`
46526-
exports.version = '1.16.4';
46496+
exports.version = '1.16.5';
4652746497

4652846498
// plot api
4652946499
exports.plot = Plotly.plot;

dist/plotly-gl2d.min.js

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

0 commit comments

Comments
 (0)