diff --git a/test/image/baselines/parcats_colorbar.png b/test/image/baselines/parcats_colorbar.png deleted file mode 100644 index 0fcfb721c88..00000000000 Binary files a/test/image/baselines/parcats_colorbar.png and /dev/null differ diff --git a/test/image/baselines/parcats_fonts.png b/test/image/baselines/parcats_fonts.png deleted file mode 100644 index ef1627575bb..00000000000 Binary files a/test/image/baselines/parcats_fonts.png and /dev/null differ diff --git a/test/image/baselines/parcats_grid_subplots.png b/test/image/baselines/parcats_grid_subplots.png new file mode 100644 index 00000000000..46bc6dd7b98 Binary files /dev/null and b/test/image/baselines/parcats_grid_subplots.png differ diff --git a/test/image/mocks/parcats_colorbar.json b/test/image/mocks/parcats_colorbar.json deleted file mode 100644 index b0f06f39bfe..00000000000 --- a/test/image/mocks/parcats_colorbar.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "data": [ - {"type": "parcats", - "domain": {"x": [0.125, 0.625],"y": [0.25, 0.75]}, - "dimensions":[ - {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 1, 1]}, - {"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C", "B", "C", "B", "C", "B", "C", "B", "C", "B", "A", "A"]}, - {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11]}], - "bundlecolors": true, - "line": { - "color": [0, 0, 1, 1, 0, 1, 0, 0, 0, 2, 2, 2, 2, 1, 2, 1, 0, 2, 1, 2], - "shape": "linear", - "showscale": true, - "colorscale": "Viridis" - } - } - ], - "layout": { - "height": 602, - "width": 592, - "margin": { - "l": 40, "r": 40, "t": 50, "b": 40 - }} -} diff --git a/test/image/mocks/parcats_fonts.json b/test/image/mocks/parcats_fonts.json deleted file mode 100644 index a7f7de9a522..00000000000 --- a/test/image/mocks/parcats_fonts.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "data": [ - {"type": "parcats", - "domain": {"x": [0.125, 0.625],"y": [0.25, 0.75]}, - "dimensions":[ - {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, - {"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"]}, - {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}], - "labelfont": {"family": "Rockwell", "size": 20, "color": "gray"}, - "tickfont": {"family": "Arial", "size": 10, "color": "firebrick"} - } - ], - "layout": { - "height": 602, - "width": 592, - "margin": { - "l": 40, "r": 40, "t": 50, "b": 40 - }} -} diff --git a/test/image/mocks/parcats_grid_subplots.json b/test/image/mocks/parcats_grid_subplots.json new file mode 100644 index 00000000000..e53e0345e1a --- /dev/null +++ b/test/image/mocks/parcats_grid_subplots.json @@ -0,0 +1,55 @@ +{ + "data": [ + {"type": "parcats", + "domain": {"row": 0, "column": 0}, + "dimensions":[ + {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 1, 1]}, + {"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C", "B", "C", "B", "C", "B", "C", "B", "C", "B", "A", "A"]}, + {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11]}], + "bundlecolors": true, + "line": { + "color": [0, 0, 1, 1, 0, 1, 0, 0, 0, 2, 2, 2, 2, 1, 2, 1, 0, 2, 1, 2], + "shape": "linear", + "showscale": true, + "colorscale": "Viridis" + } + }, + {"type": "parcats", + "domain": {"row": 0, "column": 1}, + "dimensions":[ + {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, + {"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"]}, + {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}], + "labelfont": {"family": "Rockwell", "size": 20, "color": "gray"}, + "tickfont": {"family": "Arial", "size": 10, "color": "firebrick"} + }, + {"type": "parcats", + "domain": {"row": 1, "column": 0}, + "tickfont": {"color": "black"}, + "dimensions":[ + {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, + {"label": "Two", + "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"], + "categoryarray": ["A", "B", "C"], + "ticktext": ["$A^2$", "Bold
and
Italic", "Link"] + }, + {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}] + }, + {"type": "parcats", + "domain": {"row": 1, "column": 1}, + "dimensions":[ + {"label": "One", "values": [1, 1, 2, 1, 2, 1, 1, 2, 1]}, + {"label": "Two", "values": ["A", "B", "A", "B", "C", "C", "A", "B", "C"]}, + {"label": "Three", "values": [11, 11, 11, 11, 11, 11, 11, 11, 11]}], + "bundlecolors": false, + "line": { + "color": [0, 0, 1, 1, 0, 1, 0, 0, 0], + "shape": "hspline" + } + } + ], + "layout": { + "height": 602, + "width": 592, + "grid": {"rows": 2, "columns": 2}} +}