diff --git a/src/traces/parcoords/parcoords.js b/src/traces/parcoords/parcoords.js index f51c01f9ed6..602d3ddf121 100644 --- a/src/traces/parcoords/parcoords.js +++ b/src/traces/parcoords/parcoords.js @@ -636,7 +636,6 @@ module.exports = function(root, svg, styledData, layout, callbacks) { axisExtentTopText.enter() .append('text') .classed(c.cn.axisExtentTopText, true) - .attr('alignment-baseline', 'after-edge') .call(styleExtentTexts); axisExtentTopText @@ -659,7 +658,7 @@ module.exports = function(root, svg, styledData, layout, callbacks) { axisExtentBottomText.enter() .append('text') .classed(c.cn.axisExtentBottomText, true) - .attr('alignment-baseline', 'before-edge') + .attr('dy', '0.75em') .call(styleExtentTexts); axisExtentBottomText diff --git a/src/traces/table/plot.js b/src/traces/table/plot.js index ddb50c771d5..efde0afa16f 100644 --- a/src/traces/table/plot.js +++ b/src/traces/table/plot.js @@ -529,8 +529,8 @@ function populateCellText(cellText, tableControlView, allColumnBlock, gd) { return textToRender; }) - .attr('alignment-baseline', function(d) { - return d.needsConvertToTspans ? null : 'hanging'; + .attr('dy', function(d) { + return d.needsConvertToTspans ? 0 : '0.75em'; }) .each(function(d) { diff --git a/test/image/baselines/gl2d_parcoords.png b/test/image/baselines/gl2d_parcoords.png index 40e39551503..34de7a59402 100644 Binary files a/test/image/baselines/gl2d_parcoords.png and b/test/image/baselines/gl2d_parcoords.png differ diff --git a/test/image/baselines/gl2d_parcoords_1.png b/test/image/baselines/gl2d_parcoords_1.png index 449da98f0ed..736af6510c8 100644 Binary files a/test/image/baselines/gl2d_parcoords_1.png and b/test/image/baselines/gl2d_parcoords_1.png differ diff --git a/test/image/baselines/gl2d_parcoords_2.png b/test/image/baselines/gl2d_parcoords_2.png index 4eebd736916..2b19d3c107f 100644 Binary files a/test/image/baselines/gl2d_parcoords_2.png and b/test/image/baselines/gl2d_parcoords_2.png differ diff --git a/test/image/baselines/gl2d_parcoords_blocks.png b/test/image/baselines/gl2d_parcoords_blocks.png index eb3d695b3d5..c802e871fc5 100644 Binary files a/test/image/baselines/gl2d_parcoords_blocks.png and b/test/image/baselines/gl2d_parcoords_blocks.png differ diff --git a/test/image/baselines/gl2d_parcoords_large.png b/test/image/baselines/gl2d_parcoords_large.png index 856ca94ec4d..6c4d0b48f47 100644 Binary files a/test/image/baselines/gl2d_parcoords_large.png and b/test/image/baselines/gl2d_parcoords_large.png differ diff --git a/test/image/baselines/table_latex_multitrace.png b/test/image/baselines/table_latex_multitrace.png index dfde14caf4d..ae471dfaa1a 100644 Binary files a/test/image/baselines/table_latex_multitrace.png and b/test/image/baselines/table_latex_multitrace.png differ diff --git a/test/image/baselines/table_latex_multitrace_scatter.png b/test/image/baselines/table_latex_multitrace_scatter.png index 0722c71b2a3..5a8a144d472 100644 Binary files a/test/image/baselines/table_latex_multitrace_scatter.png and b/test/image/baselines/table_latex_multitrace_scatter.png differ diff --git a/test/image/baselines/table_plain_birds.png b/test/image/baselines/table_plain_birds.png index 91cec22a026..434f8b99832 100644 Binary files a/test/image/baselines/table_plain_birds.png and b/test/image/baselines/table_plain_birds.png differ diff --git a/test/image/baselines/table_wrapped_birds.png b/test/image/baselines/table_wrapped_birds.png index 7ebbd848a4f..85be3465bbf 100644 Binary files a/test/image/baselines/table_wrapped_birds.png and b/test/image/baselines/table_wrapped_birds.png differ