Skip to content

Commit b9c8de6

Browse files
committed
staying valign for the moment
1 parent ff3c8f6 commit b9c8de6

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

src/traces/table/attributes.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ module.exports = {
108108
},
109109

110110
align: extendFlat({}, annAttrs.align, {arrayOk: true}),
111-
valign: extendFlat({}, annAttrs.valign, {arrayOk: true}),
112111

113112
line: {
114113
width: {
@@ -216,7 +215,6 @@ module.exports = {
216215
},
217216

218217
align: extendFlat({}, annAttrs.align, {arrayOk: true}),
219-
valign: extendFlat({}, annAttrs.valign, {arrayOk: true}),
220218

221219
line: {
222220
width: {

src/traces/table/defaults.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
4343
coerce('cells.values');
4444
coerce('cells.format');
4545
coerce('cells.align');
46-
coerce('cells.valign');
4746
coerce('cells.prefix');
4847
coerce('cells.suffix');
4948
coerce('cells.height');
@@ -55,7 +54,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
5554
coerce('header.values');
5655
coerce('header.format');
5756
coerce('header.align');
58-
coerce('header.valign');
57+
5958
coerce('header.prefix');
6059
coerce('header.suffix');
6160
coerce('header.height');

src/traces/table/plot.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ function setFont(columnCell) {
441441

442442
d.rowNumber = d.key;
443443
d.align = gridPick(d.calcdata.cells.align, col, i);
444-
d.valign = gridPick(d.calcdata.cells.valign, col, i);
445444
d.cellBorderWidth = gridPick(d.calcdata.cells.line.width, col, i);
446445
d.font = font;
447446
});

test/image/mocks/table_plain_birds.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"values": [["<b>#</b>", ""], ["<b>Species</b>", ""], ["Latitude", "$\\phi °$"], ["Longitude", "$\\lambda °$"], ["Exposure", ""], ["Condition", "<i>Live / Dead</i>"], ["Date", "<i>yyyy-mm-dd</i>"]],
2525

2626
"align": ["right", "left", "right", "right", "left", "left", "left"],
27-
"valign": "middle",
2827

2928
"line": {
3029
"color": "lightgray",
@@ -64,7 +63,6 @@
6463
"height": 26,
6564

6665
"align": ["right", "left", "right", "right", "left", "left", "left"],
67-
"valign": ["top"],
6866

6967
"line": {
7068
"color": [

0 commit comments

Comments
 (0)