Skip to content

Commit b52cea3

Browse files
committed
set splom.axis.matches default to true
1 parent 795d546 commit b52cea3

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/traces/splom/attributes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,9 @@ module.exports = {
9090
].join(' ')
9191
},
9292

93-
// TODO make 'true' the default in v3?
9493
matches: {
9594
valType: 'boolean',
96-
dflt: false,
95+
dflt: true,
9796
editType: 'calc',
9897
description: [
9998
'Determines whether or not the x & y axes generated by this',

src/types/generated/schema.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10038,7 +10038,7 @@ export interface SplomData {
1003810038
axis?: {
1003910039
/**
1004010040
* Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id.
10041-
* @default false
10041+
* @default true
1004210042
*/
1004310043
matches?: boolean;
1004410044
/** Sets the axis type for this dimension's generated x and y axes. Note that the axis `type` values set in layout take precedence over this attribute. */

test/plot-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75855,7 +75855,7 @@
7585575855
"editType": "calc+clearAxisTypes",
7585675856
"matches": {
7585775857
"description": "Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id.",
75858-
"dflt": false,
75858+
"dflt": true,
7585975859
"editType": "calc",
7586075860
"valType": "boolean"
7586175861
},

0 commit comments

Comments
 (0)