Skip to content

Commit 903c50a

Browse files
committed
Fast fix
1 parent 6fa1b97 commit 903c50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/gpad/TAxisPainter.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ class TAxisPainter extends ObjectPainter {
11591159
if (!this.vertical && this.regular_labels && !rotate_lbls) {
11601160
let tlen = 0;
11611161
for (let nmajor = 0; nmajor < lbl_pos.length; ++nmajor) {
1162-
const text = this.format(lbl_pos[nmajor], true, fmt);
1162+
const text = this.format(lbl_pos[nmajor], true);
11631163
if (text)
11641164
tlen = Math.max(tlen, text.length);
11651165
}
@@ -1176,7 +1176,7 @@ class TAxisPainter extends ObjectPainter {
11761176
const fix_coord = this.vertical ? -labeloffset * side : labeloffset * side + ticksPlusMinus * tickSize;
11771177

11781178
for (let nmajor = 0; nmajor < lbl_pos.length; ++nmajor) {
1179-
let text = this.format(lbl_pos[nmajor], true, fmt);
1179+
let text = this.format(lbl_pos[nmajor], true);
11801180
if (text === null)
11811181
continue;
11821182

0 commit comments

Comments
 (0)