diff --git a/draftlogs/5673_change.md b/draftlogs/5673_change.md new file mode 100644 index 00000000000..e9a2a968f23 --- /dev/null +++ b/draftlogs/5673_change.md @@ -0,0 +1,2 @@ + - Relax the valType of `constraintrange` in `parcoords` trace [[#5673](https://github.com/plotly/plotly.js/pull/5673)] + diff --git a/src/traces/parcoords/attributes.js b/src/traces/parcoords/attributes.js index 38ec6167c94..3dbe1670d09 100644 --- a/src/traces/parcoords/attributes.js +++ b/src/traces/parcoords/attributes.js @@ -96,8 +96,8 @@ module.exports = { freeLength: true, dimensions: '1-2', items: [ - {valType: 'number', editType: 'plot'}, - {valType: 'number', editType: 'plot'} + {valType: 'any', editType: 'plot'}, + {valType: 'any', editType: 'plot'} ], editType: 'plot', description: [ diff --git a/tasks/test_mock.js b/tasks/test_mock.js index 0503ef8796b..82cf6aeabcc 100644 --- a/tasks/test_mock.js +++ b/tasks/test_mock.js @@ -162,12 +162,6 @@ function notBlackListed(name) { 'gl2d_fonts', 'gl2d_layout_image', 'gl2d_marker_coloraxis', - 'gl2d_parcoords_256_colors', - 'gl2d_parcoords_constraints', - 'gl2d_parcoords_out-of-range_selected-above-below', - 'gl2d_parcoords_out-of-range_selected-all', - 'gl2d_parcoords_out-of-range_selected-below', - 'gl2d_parcoords_select_first_last_enum', 'gl2d_pointcloud-basic', 'gl2d_rgb_dont_accept_alpha_scattergl', 'gl2d_scatter-marker-line-colorscales', diff --git a/test/image/mocks/gl2d_parcoords_out-of-range_selected-all.json b/test/image/mocks/gl2d_parcoords_out-of-range_selected-all.json index b98c6d88d82..225d5092e41 100644 --- a/test/image/mocks/gl2d_parcoords_out-of-range_selected-all.json +++ b/test/image/mocks/gl2d_parcoords_out-of-range_selected-all.json @@ -19,10 +19,8 @@ { "label": "A", "constraintrange": [ - [ - 2.5, - 10 - ] + 2.5, + 10 ], "values": [ 1, diff --git a/test/plot-schema.json b/test/plot-schema.json index ea7e33900b8..150029c1f45 100644 --- a/test/plot-schema.json +++ b/test/plot-schema.json @@ -37824,11 +37824,11 @@ "items": [ { "editType": "plot", - "valType": "number" + "valType": "any" }, { "editType": "plot", - "valType": "number" + "valType": "any" } ], "valType": "info_array"