Skip to content

Commit 02e51d8

Browse files
committed
1.44.3
1 parent 4aa6c99 commit 02e51d8

23 files changed

+533
-248
lines changed

dist/README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
5151
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
5252
Many other localizations are available - here is an example using Swiss-German (de-CH),
5353
see the contents of this directory for the full list.
54-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.44.2.js
54+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.44.3.js
5555
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
5656

5757
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
7474

7575
It be can imported as minified javascript
7676
- using dist file `dist/plotly.min.js`
77-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.44.2.min.js
77+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.44.3.min.js
7878

7979
or as raw javascript:
8080
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
8181
- using dist file `dist/plotly.js`
82-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.44.2.js
82+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.44.3.js
8383
- using CommonJS with `require('plotly.js')`
8484

8585
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`
@@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:
8888

8989
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
9090
|-----------|---------------|----------------------|---------------------|
91-
| 6.1 MB | 2.8 MB | 849.1 kB | 6.3 MB |
91+
| 6.1 MB | 2.8 MB | 849.3 kB | 6.3 MB |
9292

9393
## Partial bundles
9494

@@ -111,16 +111,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.
111111

112112
| Raw size | Minified size | Minified + gzip size |
113113
|------|-----------------|------------------------|
114-
| 2.3 MB | 810.7 kB | 264.7 kB |
114+
| 2.3 MB | 810.9 kB | 264.8 kB |
115115

116116
#### CDN links
117117

118118
| Flavor | URL |
119119
| ------ | --- |
120120
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
121121
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
122-
| Tagged | https://cdn.plot.ly/plotly-basic-1.44.2.js |
123-
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.44.2.min.js |
122+
| Tagged | https://cdn.plot.ly/plotly-basic-1.44.3.js |
123+
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.44.3.min.js |
124124

125125
#### npm package (starting in `v1.39.0`)
126126

@@ -157,16 +157,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `
157157

158158
| Raw size | Minified size | Minified + gzip size |
159159
|------|-----------------|------------------------|
160-
| 2.6 MB | 924.3 kB | 300.7 kB |
160+
| 2.6 MB | 924.5 kB | 300.8 kB |
161161

162162
#### CDN links
163163

164164
| Flavor | URL |
165165
| ------ | --- |
166166
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
167167
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
168-
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.44.2.js |
169-
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.44.2.min.js |
168+
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.44.3.js |
169+
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.44.3.min.js |
170170

171171
#### npm package (starting in `v1.39.0`)
172172

@@ -203,16 +203,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho
203203

204204
| Raw size | Minified size | Minified + gzip size |
205205
|------|-----------------|------------------------|
206-
| 2.3 MB | 829 kB | 272.8 kB |
206+
| 2.3 MB | 829.2 kB | 272.9 kB |
207207

208208
#### CDN links
209209

210210
| Flavor | URL |
211211
| ------ | --- |
212212
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
213213
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
214-
| Tagged | https://cdn.plot.ly/plotly-geo-1.44.2.js |
215-
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.44.2.min.js |
214+
| Tagged | https://cdn.plot.ly/plotly-geo-1.44.3.js |
215+
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.44.3.min.js |
216216

217217
#### npm package (starting in `v1.39.0`)
218218

@@ -249,16 +249,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac
249249

250250
| Raw size | Minified size | Minified + gzip size |
251251
|------|-----------------|------------------------|
252-
| 3.3 MB | 1.3 MB | 425 kB |
252+
| 3.4 MB | 1.3 MB | 425.1 kB |
253253

254254
#### CDN links
255255

256256
| Flavor | URL |
257257
| ------ | --- |
258258
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
259259
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
260-
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.44.2.js |
261-
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.44.2.min.js |
260+
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.44.3.js |
261+
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.44.3.min.js |
262262

263263
#### npm package (starting in `v1.39.0`)
264264

@@ -295,16 +295,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`
295295

296296
| Raw size | Minified size | Minified + gzip size |
297297
|------|-----------------|------------------------|
298-
| 3.4 MB | 1.4 MB | 442.4 kB |
298+
| 3.4 MB | 1.4 MB | 442.5 kB |
299299

300300
#### CDN links
301301

302302
| Flavor | URL |
303303
| ------ | --- |
304304
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
305305
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
306-
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.44.2.js |
307-
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.44.2.min.js |
306+
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.44.3.js |
307+
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.44.3.min.js |
308308

309309
#### npm package (starting in `v1.39.0`)
310310

@@ -341,16 +341,16 @@ The `mapbox` partial bundle contains trace modules `scatter` and `scattermapbox`
341341

342342
| Raw size | Minified size | Minified + gzip size |
343343
|------|-----------------|------------------------|
344-
| 2.8 MB | 1.4 MB | 410.6 kB |
344+
| 2.8 MB | 1.4 MB | 410.7 kB |
345345

346346
#### CDN links
347347

348348
| Flavor | URL |
349349
| ------ | --- |
350350
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
351351
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
352-
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.44.2.js |
353-
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.44.2.min.js |
352+
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.44.3.js |
353+
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.44.3.min.js |
354354

355355
#### npm package (starting in `v1.39.0`)
356356

@@ -387,16 +387,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram
387387

388388
| Raw size | Minified size | Minified + gzip size |
389389
|------|-----------------|------------------------|
390-
| 2.4 MB | 843.2 kB | 274.7 kB |
390+
| 2.4 MB | 843.4 kB | 274.8 kB |
391391

392392
#### CDN links
393393

394394
| Flavor | URL |
395395
| ------ | --- |
396396
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
397397
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
398-
| Tagged | https://cdn.plot.ly/plotly-finance-1.44.2.js |
399-
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.44.2.min.js |
398+
| Tagged | https://cdn.plot.ly/plotly-finance-1.44.3.js |
399+
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.44.3.min.js |
400400

401401
#### npm package (starting in `v1.39.0`)
402402

dist/plotly-basic.js

+39-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v1.44.2
2+
* plotly.js (basic) v1.44.3
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33772,7 +33772,7 @@ exports.svgAttrs = {
3377233772
'use strict';
3377333773

3377433774
// package version injected by `npm run preprocess`
33775-
exports.version = '1.44.2';
33775+
exports.version = '1.44.3';
3377633776

3377733777
// inject promise polyfill
3377833778
_dereq_('es6-promise').polyfill();
@@ -39342,7 +39342,7 @@ exports.convertToTspans = function(_context, gd, _callback) {
3934239342
else if(svgClass[0] === 'l') {
3934339343
newSvg.attr({x: _context.attr('x'), y: dy - (newSvgH / 2)});
3934439344
}
39345-
else if(svgClass[0] === 'a') {
39345+
else if(svgClass[0] === 'a' && svgClass.indexOf('atitle') !== 0) {
3934639346
newSvg.attr({x: 0, y: dy});
3934739347
}
3934839348
else {
@@ -51188,27 +51188,53 @@ axes.drawOne = function(gd, ax, opts) {
5118851188
var hasRangeSlider = Registry.getComponentMethod('rangeslider', 'isVisible')(ax);
5118951189

5119051190
function doAutoMargins() {
51191-
var push, rangeSliderPush;
51191+
var s = ax.side.charAt(0);
51192+
var push;
51193+
var rangeSliderPush;
5119251194

5119351195
if(hasRangeSlider) {
5119451196
rangeSliderPush = Registry.getComponentMethod('rangeslider', 'autoMarginOpts')(gd, ax);
5119551197
}
5119651198
Plots.autoMargin(gd, rangeSliderAutoMarginID(ax), rangeSliderPush);
5119751199

51198-
var s = ax.side.charAt(0);
5119951200
if(ax.automargin && (!hasRangeSlider || s !== 'b')) {
5120051201
push = {x: 0, y: 0, r: 0, l: 0, t: 0, b: 0};
5120151202

51202-
if(axLetter === 'x') {
51203-
push.y = (ax.anchor === 'free' ? ax.position :
51204-
ax._anchorAxis.domain[s === 't' ? 1 : 0]);
51205-
push[s] += ax._boundingBox.height;
51206-
} else {
51207-
push.x = (ax.anchor === 'free' ? ax.position :
51208-
ax._anchorAxis.domain[s === 'r' ? 1 : 0]);
51209-
push[s] += ax._boundingBox.width;
51203+
var bbox = ax._boundingBox;
51204+
var counterAx = mainPlotinfo[counterLetter + 'axis'];
51205+
var anchorAxDomainIndex;
51206+
var offset;
51207+
51208+
switch(axLetter + s) {
51209+
case 'xb':
51210+
anchorAxDomainIndex = 0;
51211+
offset = bbox.top - counterAx._length - counterAx._offset;
51212+
push[s] = bbox.height;
51213+
break;
51214+
case 'xt':
51215+
anchorAxDomainIndex = 1;
51216+
offset = counterAx._offset - bbox.bottom;
51217+
push[s] = bbox.height;
51218+
break;
51219+
case 'yl':
51220+
anchorAxDomainIndex = 0;
51221+
offset = counterAx._offset - bbox.right;
51222+
push[s] = bbox.width;
51223+
break;
51224+
case 'yr':
51225+
anchorAxDomainIndex = 1;
51226+
offset = bbox.left - counterAx._length - counterAx._offset;
51227+
push[s] = bbox.width;
51228+
break;
5121051229
}
5121151230

51231+
push[counterLetter] = ax.anchor === 'free' ?
51232+
ax.position :
51233+
ax._anchorAxis.domain[anchorAxDomainIndex];
51234+
51235+
if(push[s] > 0) {
51236+
push[s] += offset;
51237+
}
5121251238
if(ax.title.text !== fullLayout._dfltTitle[axLetter]) {
5121351239
push[s] += ax.title.font.size;
5121451240
}

dist/plotly-basic.min.js

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

dist/plotly-cartesian.js

+39-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v1.44.2
2+
* plotly.js (cartesian) v1.44.3
33
* Copyright 2012-2019, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -33922,7 +33922,7 @@ exports.svgAttrs = {
3392233922
'use strict';
3392333923

3392433924
// package version injected by `npm run preprocess`
33925-
exports.version = '1.44.2';
33925+
exports.version = '1.44.3';
3392633926

3392733927
// inject promise polyfill
3392833928
_dereq_('es6-promise').polyfill();
@@ -39492,7 +39492,7 @@ exports.convertToTspans = function(_context, gd, _callback) {
3949239492
else if(svgClass[0] === 'l') {
3949339493
newSvg.attr({x: _context.attr('x'), y: dy - (newSvgH / 2)});
3949439494
}
39495-
else if(svgClass[0] === 'a') {
39495+
else if(svgClass[0] === 'a' && svgClass.indexOf('atitle') !== 0) {
3949639496
newSvg.attr({x: 0, y: dy});
3949739497
}
3949839498
else {
@@ -51338,27 +51338,53 @@ axes.drawOne = function(gd, ax, opts) {
5133851338
var hasRangeSlider = Registry.getComponentMethod('rangeslider', 'isVisible')(ax);
5133951339

5134051340
function doAutoMargins() {
51341-
var push, rangeSliderPush;
51341+
var s = ax.side.charAt(0);
51342+
var push;
51343+
var rangeSliderPush;
5134251344

5134351345
if(hasRangeSlider) {
5134451346
rangeSliderPush = Registry.getComponentMethod('rangeslider', 'autoMarginOpts')(gd, ax);
5134551347
}
5134651348
Plots.autoMargin(gd, rangeSliderAutoMarginID(ax), rangeSliderPush);
5134751349

51348-
var s = ax.side.charAt(0);
5134951350
if(ax.automargin && (!hasRangeSlider || s !== 'b')) {
5135051351
push = {x: 0, y: 0, r: 0, l: 0, t: 0, b: 0};
5135151352

51352-
if(axLetter === 'x') {
51353-
push.y = (ax.anchor === 'free' ? ax.position :
51354-
ax._anchorAxis.domain[s === 't' ? 1 : 0]);
51355-
push[s] += ax._boundingBox.height;
51356-
} else {
51357-
push.x = (ax.anchor === 'free' ? ax.position :
51358-
ax._anchorAxis.domain[s === 'r' ? 1 : 0]);
51359-
push[s] += ax._boundingBox.width;
51353+
var bbox = ax._boundingBox;
51354+
var counterAx = mainPlotinfo[counterLetter + 'axis'];
51355+
var anchorAxDomainIndex;
51356+
var offset;
51357+
51358+
switch(axLetter + s) {
51359+
case 'xb':
51360+
anchorAxDomainIndex = 0;
51361+
offset = bbox.top - counterAx._length - counterAx._offset;
51362+
push[s] = bbox.height;
51363+
break;
51364+
case 'xt':
51365+
anchorAxDomainIndex = 1;
51366+
offset = counterAx._offset - bbox.bottom;
51367+
push[s] = bbox.height;
51368+
break;
51369+
case 'yl':
51370+
anchorAxDomainIndex = 0;
51371+
offset = counterAx._offset - bbox.right;
51372+
push[s] = bbox.width;
51373+
break;
51374+
case 'yr':
51375+
anchorAxDomainIndex = 1;
51376+
offset = bbox.left - counterAx._length - counterAx._offset;
51377+
push[s] = bbox.width;
51378+
break;
5136051379
}
5136151380

51381+
push[counterLetter] = ax.anchor === 'free' ?
51382+
ax.position :
51383+
ax._anchorAxis.domain[anchorAxDomainIndex];
51384+
51385+
if(push[s] > 0) {
51386+
push[s] += offset;
51387+
}
5136251388
if(ax.title.text !== fullLayout._dfltTitle[axLetter]) {
5136351389
push[s] += ax.title.font.size;
5136451390
}

dist/plotly-cartesian.min.js

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

0 commit comments

Comments
 (0)