Skip to content

Commit 553e193

Browse files
committed
sort categories by values: update mocks
1 parent 9aaa10b commit 553e193

8 files changed

+6
-6
lines changed
Loading
Binary file not shown.
Loading
Binary file not shown.

test/image/mocks/hist_category_value_ascending.json renamed to test/image/mocks/hist_category_total_ascending.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
"yaxis": "y2"
2121
}],
2222
"layout": {
23-
"title": "categoryorder: \"value ascending\"",
23+
"title": "categoryorder: \"total ascending\"",
2424
"height": 400,
2525
"width": 600,
2626
"barmode": "stack",
2727
"xaxis": {
2828
"domain": [0, 0.45],
29-
"categoryorder": "value ascending"
29+
"categoryorder": "total ascending"
3030
},
3131
"xaxis2": {
3232
"domain": [0.55, 1]
3333
},
3434
"yaxis2": {
3535
"anchor": "x2",
36-
"categoryorder": "value ascending"
36+
"categoryorder": "total ascending"
3737
}
3838
}
3939
}

test/image/mocks/scatter_category_value_descending.json renamed to test/image/mocks/scatter_category_total_descending.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313
],
1414
"layout": {
15-
"title": "xaxis.categoryorder: \"value descending\"",
15+
"title": "xaxis.categoryorder: \"total descending\"",
1616
"width": 400,
1717
"height": 400,
1818
"xaxis": {
1919
"domain": [
2020
0,
2121
1
2222
],
23-
"categoryorder": "value descending"
23+
"categoryorder": "total descending"
2424
}
2525
}
2626
}

test/image/mocks/sort_by_value_matching_axes.json renamed to test/image/mocks/sort_by_total_matching_axes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"layout": {
1515
"xaxis": {
1616
"type": "category",
17-
"categoryorder": "value ascending"
17+
"categoryorder": "total ascending"
1818
},
1919
"xaxis2": {
2020
"matches": "x"

0 commit comments

Comments
 (0)