Skip to content

Commit de1664b

Browse files
committed
2.6.4
1 parent 6ad70cb commit de1664b

24 files changed

+125
-95
lines changed

Diff for: dist/README.md

+21-21
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.3 MB | 3.5 MB | 1 MB | 8.6 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.6.3.js
49+
> https://cdn.plot.ly/plotly-2.6.4.js
5050
51-
> https://cdn.plot.ly/plotly-2.6.3.min.js
51+
> https://cdn.plot.ly/plotly-2.6.4.min.js
5252
5353

5454
#### npm packages
@@ -94,9 +94,9 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9494
| 2.7 MB | 973.2 kB | 316.7 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.6.3.js
97+
> https://cdn.plot.ly/plotly-basic-2.6.4.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.6.3.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.6.4.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 388.2 kB |
117+
| 3.3 MB | 1.2 MB | 388.3 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.6.3.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.6.4.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.6.3.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.6.4.min.js
123123
124124

125125
#### npm packages
@@ -140,9 +140,9 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
140140
| 3 MB | 1.1 MB | 359.5 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.6.3.js
143+
> https://cdn.plot.ly/plotly-geo-2.6.4.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.6.3.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.6.4.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.8 MB | 1.5 MB | 479.6 kB |
163+
| 3.8 MB | 1.5 MB | 479.7 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.6.3.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.6.4.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.6.3.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.6.4.min.js
169169
170170

171171
#### npm packages
@@ -186,9 +186,9 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
186186
| 4.3 MB | 1.8 MB | 570.1 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.6.3.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.6.4.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.6.3.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.6.4.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.3 MB | 1.7 MB | 513.7 kB |
209+
| 4.3 MB | 1.7 MB | 513.8 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.6.3.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.6.4.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.6.3.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.6.4.min.js
215215
216216

217217
#### npm packages
@@ -232,9 +232,9 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
232232
| 2.9 MB | 1.1 MB | 349.3 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.6.3.js
235+
> https://cdn.plot.ly/plotly-finance-2.6.4.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.6.3.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.6.4.min.js
238238
239239

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 7.7 MB | 3.2 MB | 956 kB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-2.6.3.js
258+
> https://cdn.plot.ly/plotly-strict-2.6.4.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.6.3.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.6.4.min.js
261261
262262

263263
#### npm packages

Diff for: dist/plotly-basic.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (basic) v2.6.3
2+
* plotly.js (basic) v2.6.4
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -24971,7 +24971,7 @@ var TEXTOFFSETSIGN = {
2497124971
start: 1, end: -1, middle: 0, bottom: 1, top: -1
2497224972
};
2497324973

24974-
function textPointPosition(s, textPosition, fontSize, markerRadius) {
24974+
function textPointPosition(s, textPosition, fontSize, markerRadius, dontTouchParent) {
2497524975
var group = d3.select(s.node().parentNode);
2497624976

2497724977
var v = textPosition.indexOf('top') !== -1 ?
@@ -24993,7 +24993,9 @@ function textPointPosition(s, textPosition, fontSize, markerRadius) {
2499324993

2499424994
// fix the overall text group position
2499524995
s.attr('text-anchor', h);
24996-
group.attr('transform', strTranslate(dx, dy));
24996+
if(!dontTouchParent) {
24997+
group.attr('transform', strTranslate(dx, dy));
24998+
}
2499724999
}
2499825000

2499925001
function extracTextFontSize(d, trace) {
@@ -25063,7 +25065,8 @@ drawing.selectedTextStyle = function(s, trace) {
2506325065
var fontSize = extracTextFontSize(d, trace);
2506425066

2506525067
Color.fill(tx, tc);
25066-
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc);
25068+
var dontTouchParent = Registry.traceIs(trace, 'bar-like');
25069+
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc, dontTouchParent);
2506725070
});
2506825071
};
2506925072

@@ -82288,7 +82291,7 @@ function getSortFunc(opts, d2c) {
8228882291
'use strict';
8228982292

8229082293
// package version injected by `npm run preprocess`
82291-
exports.version = '2.6.3';
82294+
exports.version = '2.6.4';
8229282295

8229382296
},{}]},{},[8])(8)
8229482297
});

Diff for: 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.

Diff for: dist/plotly-cartesian.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (cartesian) v2.6.3
2+
* plotly.js (cartesian) v2.6.4
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -34130,7 +34130,7 @@ var TEXTOFFSETSIGN = {
3413034130
start: 1, end: -1, middle: 0, bottom: 1, top: -1
3413134131
};
3413234132

34133-
function textPointPosition(s, textPosition, fontSize, markerRadius) {
34133+
function textPointPosition(s, textPosition, fontSize, markerRadius, dontTouchParent) {
3413434134
var group = d3.select(s.node().parentNode);
3413534135

3413634136
var v = textPosition.indexOf('top') !== -1 ?
@@ -34152,7 +34152,9 @@ function textPointPosition(s, textPosition, fontSize, markerRadius) {
3415234152

3415334153
// fix the overall text group position
3415434154
s.attr('text-anchor', h);
34155-
group.attr('transform', strTranslate(dx, dy));
34155+
if(!dontTouchParent) {
34156+
group.attr('transform', strTranslate(dx, dy));
34157+
}
3415634158
}
3415734159

3415834160
function extracTextFontSize(d, trace) {
@@ -34222,7 +34224,8 @@ drawing.selectedTextStyle = function(s, trace) {
3422234224
var fontSize = extracTextFontSize(d, trace);
3422334225

3422434226
Color.fill(tx, tc);
34225-
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc);
34227+
var dontTouchParent = Registry.traceIs(trace, 'bar-like');
34228+
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc, dontTouchParent);
3422634229
});
3422734230
};
3422834231

@@ -102156,7 +102159,7 @@ function getSortFunc(opts, d2c) {
102156102159
'use strict';
102157102160

102158102161
// package version injected by `npm run preprocess`
102159-
exports.version = '2.6.3';
102162+
exports.version = '2.6.4';
102160102163

102161102164
},{}]},{},[15])(15)
102162102165
});

Diff for: 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.

Diff for: dist/plotly-finance.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (finance) v2.6.3
2+
* plotly.js (finance) v2.6.4
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -26191,7 +26191,7 @@ var TEXTOFFSETSIGN = {
2619126191
start: 1, end: -1, middle: 0, bottom: 1, top: -1
2619226192
};
2619326193

26194-
function textPointPosition(s, textPosition, fontSize, markerRadius) {
26194+
function textPointPosition(s, textPosition, fontSize, markerRadius, dontTouchParent) {
2619526195
var group = d3.select(s.node().parentNode);
2619626196

2619726197
var v = textPosition.indexOf('top') !== -1 ?
@@ -26213,7 +26213,9 @@ function textPointPosition(s, textPosition, fontSize, markerRadius) {
2621326213

2621426214
// fix the overall text group position
2621526215
s.attr('text-anchor', h);
26216-
group.attr('transform', strTranslate(dx, dy));
26216+
if(!dontTouchParent) {
26217+
group.attr('transform', strTranslate(dx, dy));
26218+
}
2621726219
}
2621826220

2621926221
function extracTextFontSize(d, trace) {
@@ -26283,7 +26285,8 @@ drawing.selectedTextStyle = function(s, trace) {
2628326285
var fontSize = extracTextFontSize(d, trace);
2628426286

2628526287
Color.fill(tx, tc);
26286-
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc);
26288+
var dontTouchParent = Registry.traceIs(trace, 'bar-like');
26289+
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc, dontTouchParent);
2628726290
});
2628826291
};
2628926292

@@ -90226,7 +90229,7 @@ function getSortFunc(opts, d2c) {
9022690229
'use strict';
9022790230

9022890231
// package version injected by `npm run preprocess`
90229-
exports.version = '2.6.3';
90232+
exports.version = '2.6.4';
9023090233

9023190234
},{}]},{},[12])(12)
9023290235
});

Diff for: dist/plotly-finance.min.js

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

Diff for: 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.

Diff for: dist/plotly-geo.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (geo) v2.6.3
2+
* plotly.js (geo) v2.6.4
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -38724,7 +38724,7 @@ var TEXTOFFSETSIGN = {
3872438724
start: 1, end: -1, middle: 0, bottom: 1, top: -1
3872538725
};
3872638726

38727-
function textPointPosition(s, textPosition, fontSize, markerRadius) {
38727+
function textPointPosition(s, textPosition, fontSize, markerRadius, dontTouchParent) {
3872838728
var group = d3.select(s.node().parentNode);
3872938729

3873038730
var v = textPosition.indexOf('top') !== -1 ?
@@ -38746,7 +38746,9 @@ function textPointPosition(s, textPosition, fontSize, markerRadius) {
3874638746

3874738747
// fix the overall text group position
3874838748
s.attr('text-anchor', h);
38749-
group.attr('transform', strTranslate(dx, dy));
38749+
if(!dontTouchParent) {
38750+
group.attr('transform', strTranslate(dx, dy));
38751+
}
3875038752
}
3875138753

3875238754
function extracTextFontSize(d, trace) {
@@ -38816,7 +38818,8 @@ drawing.selectedTextStyle = function(s, trace) {
3881638818
var fontSize = extracTextFontSize(d, trace);
3881738819

3881838820
Color.fill(tx, tc);
38819-
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc);
38821+
var dontTouchParent = Registry.traceIs(trace, 'bar-like');
38822+
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc, dontTouchParent);
3882038823
});
3882138824
};
3882238825

@@ -95044,7 +95047,7 @@ function getSortFunc(opts, d2c) {
9504495047
'use strict';
9504595048

9504695049
// package version injected by `npm run preprocess`
95047-
exports.version = '2.6.3';
95050+
exports.version = '2.6.4';
9504895051

9504995052
},{}]},{},[8])(8)
9505095053
});

Diff for: dist/plotly-geo.min.js

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

Diff for: dist/plotly-gl2d.js

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js (gl2d) v2.6.3
2+
* plotly.js (gl2d) v2.6.4
33
* Copyright 2012-2021, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -38433,7 +38433,7 @@ var TEXTOFFSETSIGN = {
3843338433
start: 1, end: -1, middle: 0, bottom: 1, top: -1
3843438434
};
3843538435

38436-
function textPointPosition(s, textPosition, fontSize, markerRadius) {
38436+
function textPointPosition(s, textPosition, fontSize, markerRadius, dontTouchParent) {
3843738437
var group = d3.select(s.node().parentNode);
3843838438

3843938439
var v = textPosition.indexOf('top') !== -1 ?
@@ -38455,7 +38455,9 @@ function textPointPosition(s, textPosition, fontSize, markerRadius) {
3845538455

3845638456
// fix the overall text group position
3845738457
s.attr('text-anchor', h);
38458-
group.attr('transform', strTranslate(dx, dy));
38458+
if(!dontTouchParent) {
38459+
group.attr('transform', strTranslate(dx, dy));
38460+
}
3845938461
}
3846038462

3846138463
function extracTextFontSize(d, trace) {
@@ -38525,7 +38527,8 @@ drawing.selectedTextStyle = function(s, trace) {
3852538527
var fontSize = extracTextFontSize(d, trace);
3852638528

3852738529
Color.fill(tx, tc);
38528-
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc);
38530+
var dontTouchParent = Registry.traceIs(trace, 'bar-like');
38531+
textPointPosition(tx, tp, fontSize, d.mrc2 || d.mrc, dontTouchParent);
3852938532
});
3853038533
};
3853138534

@@ -100560,7 +100563,7 @@ function getSortFunc(opts, d2c) {
100560100563
'use strict';
100561100564

100562100565
// package version injected by `npm run preprocess`
100563-
exports.version = '2.6.3';
100566+
exports.version = '2.6.4';
100564100567

100565100568
},{}],588:[function(_dereq_,module,exports){
100566100569
(function (global){(function (){

Diff for: dist/plotly-gl2d.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)