Skip to content

Commit 5ea73e9

Browse files
committed
1.6.2
1 parent 8a319ce commit 5ea73e9

File tree

7 files changed

+58
-48
lines changed

7 files changed

+58
-48
lines changed

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-with-meta.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js v1.6.1
2+
* plotly.js v1.6.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -57537,7 +57537,7 @@ exports.svgAttrs = {
5753757537
var Plotly = require('./plotly');
5753857538

5753957539
// package version injected by `npm run preprocess`
57540-
exports.version = '1.6.1';
57540+
exports.version = '1.6.2';
5754157541

5754257542
// plot api
5754357543
exports.plot = Plotly.plot;
@@ -67748,7 +67748,7 @@ function createHoverText(hoverData, opts) {
6774867748
else if(d.yLabel===undefined) text = d.xLabel;
6774967749
else text = '('+d.xLabel+', '+d.yLabel+')';
6775067750

67751-
if(d.text) text += (text ? '<br>' : '') + d.text;
67751+
if(d.text && !Array.isArray(d.text)) text += (text ? '<br>' : '') + d.text;
6775267752

6775367753
// if 'text' is empty at this point,
6775467754
// put 'name' in main label and don't show secondary label
@@ -78910,6 +78910,11 @@ module.exports = function toSVG(gd, format) {
7891078910

7891178911
svg.selectAll('text')
7891278912
.attr({'data-unformatted': null})
78913+
.style({
78914+
'-webkit-user-select': null,
78915+
'-moz-user-select': null,
78916+
'-ms-user-select': null
78917+
})
7891378918
.each(function() {
7891478919
// hidden text is pre-formatting mathjax, the browser ignores it but it can still confuse batik
7891578920
var txt = d3.select(this);

dist/plotly.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* plotly.js v1.6.1
2+
* plotly.js v1.6.2
33
* Copyright 2012-2016, Plotly, Inc.
44
* All rights reserved.
55
* Licensed under the MIT license
@@ -57269,7 +57269,7 @@ exports.svgAttrs = {
5726957269
var Plotly = require('./plotly');
5727057270

5727157271
// package version injected by `npm run preprocess`
57272-
exports.version = '1.6.1';
57272+
exports.version = '1.6.2';
5727357273

5727457274
// plot api
5727557275
exports.plot = Plotly.plot;
@@ -67386,7 +67386,7 @@ function createHoverText(hoverData, opts) {
6738667386
else if(d.yLabel===undefined) text = d.xLabel;
6738767387
else text = '('+d.xLabel+', '+d.yLabel+')';
6738867388

67389-
if(d.text) text += (text ? '<br>' : '') + d.text;
67389+
if(d.text && !Array.isArray(d.text)) text += (text ? '<br>' : '') + d.text;
6739067390

6739167391
// if 'text' is empty at this point,
6739267392
// put 'name' in main label and don't show secondary label
@@ -78226,6 +78226,11 @@ module.exports = function toSVG(gd, format) {
7822678226

7822778227
svg.selectAll('text')
7822878228
.attr({'data-unformatted': null})
78229+
.style({
78230+
'-webkit-user-select': null,
78231+
'-moz-user-select': null,
78232+
'-ms-user-select': null
78233+
})
7822978234
.each(function() {
7823078235
// hidden text is pre-formatting mathjax, the browser ignores it but it can still confuse batik
7823178236
var txt = d3.select(this);

dist/plotly.min.js

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

package.json

Lines 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.6.1",
3+
"version": "1.6.2",
44
"description": "The open source javascript graphing library that powers plotly",
55
"license": "MIT",
66
"main": "./lib/index.js",

src/assets/geo_assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ var saneTopojson = require('sane-topojson');
1212

1313

1414
// package version injected by `npm run preprocess`
15-
exports.version = '1.6.1';
15+
exports.version = '1.6.2';
1616

1717
exports.topojson = saneTopojson;

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var Plotly = require('./plotly');
1616

1717
// package version injected by `npm run preprocess`
18-
exports.version = '1.6.1';
18+
exports.version = '1.6.2';
1919

2020
// plot api
2121
exports.plot = Plotly.plot;

0 commit comments

Comments
 (0)