From abbca9a58bf1052c3ca13533eea29bc41aff21e6 Mon Sep 17 00:00:00 2001 From: Robert Monfera Date: Mon, 9 Oct 2017 15:55:01 +0200 Subject: [PATCH] no default needed for table line --- src/traces/table/attributes.js | 4 ++++ test/image/mocks/table_latex_multitrace.json | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/traces/table/attributes.js b/src/traces/table/attributes.js index 9b60d9ce478..947194ba357 100644 --- a/src/traces/table/attributes.js +++ b/src/traces/table/attributes.js @@ -114,11 +114,13 @@ module.exports = overrideAll({ width: { valType: 'number', arrayOk: true, + dflt: 1, role: 'style' }, color: { valType: 'color', arrayOk: true, + dflt: 'grey', role: 'style' } }, @@ -192,11 +194,13 @@ module.exports = overrideAll({ width: { valType: 'number', arrayOk: true, + dflt: 1, role: 'style' }, color: { valType: 'color', arrayOk: true, + dflt: 'grey', role: 'style' } }, diff --git a/test/image/mocks/table_latex_multitrace.json b/test/image/mocks/table_latex_multitrace.json index 5bd392be6ff..4656524e2fe 100644 --- a/test/image/mocks/table_latex_multitrace.json +++ b/test/image/mocks/table_latex_multitrace.json @@ -33,7 +33,6 @@ ["$$\\cos\\theta=\\pm\\sqrt{\\displaystyle\\frac{1+\\cos\\theta}{2}}$$", "$$\\sin\\theta=\\pm\\sqrt{\\displaystyle\\frac{1-\\cos\\theta}{2}}$$"] ], "align": ["right", "center", "center"], - "line": {"color": "grey", "width": 1}, "font": {"family": "Arial", "size": 12, "color": ["black"]} } },