Skip to content

Commit 1411dae

Browse files
committed
fx
1 parent a8b1382 commit 1411dae

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ function formatLog(ax, out, hover, extraPrecision, hideexp) {
19191919
}
19201920
} else if(dtChar0 === 'D') {
19211921
out.text =
1922-
ax.minorloglabels === 'show exp' ? Math.pow(10, x).toExponential(0) :
1922+
ax.minorloglabels === 'exponential' ? Math.pow(10, x).toExponential(0) :
19231923
ax.minorloglabels === 'full value' ? Lib.numberFormat('0.1s')(Math.pow(10, x)) :
19241924
/* ax.minorloglabels === 'small digits' */ String(Math.round(Math.pow(10, Lib.mod(x, 1))));
19251925

src/plots/cartesian/layout_attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,13 +1138,13 @@ module.exports = {
11381138

11391139
minorloglabels: {
11401140
valType: 'enumerated',
1141-
values: ['small digits', 'show exp', 'full value'],
1141+
values: ['small digits', 'exponential', 'full value'],
11421142
dflt: 'small digits',
11431143
editType: 'calc',
11441144
description: [
11451145
'Determines how minor log labels are displayed.',
11461146
'If *small digits*, small digits are displayed.',
1147-
'If *show exp*, scientific notation is applied.',
1147+
'If *exponential*, scientific notation is applied.',
11481148
'If *full value*, full values are displayed.',
11491149
].join(' ')
11501150
},

test/plot-schema.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5196,13 +5196,13 @@
51965196
"valType": "number"
51975197
},
51985198
"minorloglabels": {
5199-
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *show exp*, scientific notation is applied. If *full value*, full values are displayed.",
5199+
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *exponential*, scientific notation is applied. If *full value*, full values are displayed.",
52005200
"dflt": "small digits",
52015201
"editType": "plot",
52025202
"valType": "enumerated",
52035203
"values": [
52045204
"small digits",
5205-
"show exp",
5205+
"exponential",
52065206
"full value"
52075207
]
52085208
},
@@ -5904,13 +5904,13 @@
59045904
"valType": "number"
59055905
},
59065906
"minorloglabels": {
5907-
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *show exp*, scientific notation is applied. If *full value*, full values are displayed.",
5907+
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *exponential*, scientific notation is applied. If *full value*, full values are displayed.",
59085908
"dflt": "small digits",
59095909
"editType": "plot",
59105910
"valType": "enumerated",
59115911
"values": [
59125912
"small digits",
5913-
"show exp",
5913+
"exponential",
59145914
"full value"
59155915
]
59165916
},
@@ -13928,13 +13928,13 @@
1392813928
}
1392913929
},
1393013930
"minorloglabels": {
13931-
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *show exp*, scientific notation is applied. If *full value*, full values are displayed.",
13931+
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *exponential*, scientific notation is applied. If *full value*, full values are displayed.",
1393213932
"dflt": "small digits",
1393313933
"editType": "calc",
1393413934
"valType": "enumerated",
1393513935
"values": [
1393613936
"small digits",
13937-
"show exp",
13937+
"exponential",
1393813938
"full value"
1393913939
]
1394013940
},
@@ -15500,13 +15500,13 @@
1550015500
}
1550115501
},
1550215502
"minorloglabels": {
15503-
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *show exp*, scientific notation is applied. If *full value*, full values are displayed.",
15503+
"description": "Determines how minor log labels are displayed. If *small digits*, small digits are displayed. If *exponential*, scientific notation is applied. If *full value*, full values are displayed.",
1550415504
"dflt": "small digits",
1550515505
"editType": "calc",
1550615506
"valType": "enumerated",
1550715507
"values": [
1550815508
"small digits",
15509-
"show exp",
15509+
"exponential",
1551015510
"full value"
1551115511
]
1551215512
},

0 commit comments

Comments
 (0)