Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7fd160d

Browse files
committed
Fix header info
1 parent 56f9662 commit 7fd160d

25 files changed

+26
-69
lines changed

src/traces/carpet/ab_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/array_minmax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/axis_attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/axis_defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/calc_clippath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/calc_gridlines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/calc_labels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/catmull_rom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/cheater_basis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/compute_control_points.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/create_i_derivative_evaluator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/create_j_derivative_evaluator.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
/**
3-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
43
* All rights reserved.
54
*
65
* This source code is licensed under the MIT license found in the

src/traces/carpet/create_spline_evaluator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/ensure_array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/has_columns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/index.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the
@@ -20,14 +20,9 @@ Carpet.animatable = true;
2020
Carpet.moduleType = 'trace';
2121
Carpet.name = 'carpet';
2222
Carpet.basePlotModule = require('../../plots/cartesian');
23-
Carpet.categories = ['cartesian', 'symbols', 'markerColorscale', 'carpet'];
23+
Carpet.categories = ['cartesian', 'carpet'];
2424
Carpet.meta = {
2525
description: [
26-
'The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.',
27-
'The data visualized as scatter point or lines is set in `x` and `y`.',
28-
'Text (appearing either on the chart or on hover only) is via `text`.',
29-
'Bubble charts are achieved by setting `marker.size` and/or `marker.color`',
30-
'to numerical arrays.'
3126
].join(' ')
3227
};
3328

src/traces/carpet/makepath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/map_1d_array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/map_2d_array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/set_convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the

src/traces/carpet/xy_defaults.js

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2012-2016, Plotly, Inc.
2+
* Copyright 2012-2017, Plotly, Inc.
33
* All rights reserved.
44
*
55
* This source code is licensed under the MIT license found in the
@@ -9,10 +9,6 @@
99

1010
'use strict';
1111

12-
// var Lib = require('../../lib');
13-
14-
// var isNumeric = require('fast-isnumeric');
15-
1612
var hasColumns = require('./has_columns');
1713
var convertColumnData = require('../heatmap/convert_column_xyz');
1814

@@ -38,36 +34,3 @@ module.exports = function handleXYDefaults(traceIn, traceOut, coerce) {
3834

3935
return true;
4036
};
41-
42-
/*
43-
function isValidZ(z) {
44-
var allRowsAreArrays = true,
45-
oneRowIsFilled = false,
46-
hasOneNumber = false,
47-
zi;
48-
49-
50-
// Without this step:
51-
//
52-
// hasOneNumber = false breaks contour but not heatmap
53-
// allRowsAreArrays = false breaks contour but not heatmap
54-
// oneRowIsFilled = false breaks both
55-
56-
for(var i = 0; i < z.length; i++) {
57-
zi = z[i];
58-
if(!Array.isArray(zi)) {
59-
allRowsAreArrays = false;
60-
break;
61-
}
62-
if(zi.length > 0) oneRowIsFilled = true;
63-
for(var j = 0; j < zi.length; j++) {
64-
if(isNumeric(zi[j])) {
65-
hasOneNumber = true;
66-
break;
67-
}
68-
}
69-
}
70-
71-
return (allRowsAreArrays && oneRowIsFilled && hasOneNumber);
72-
}
73-
*/

0 commit comments

Comments
 (0)