Skip to content

Commit 6fa1b97

Browse files
committed
Remove interim code
1 parent fe05be6 commit 6fa1b97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/gpad/TAxisPainter.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ class TAxisPainter extends ObjectPainter {
10541054

10551055
if (handle.kind === 1) {
10561056
// if not showing labels, not show large tick
1057-
// FIXME: for labels last tick is smaller,
1057+
// FIXME: for labels last tick is smaller
10581058
if (!this.isExtraLogTick(handle.tick) && (this.format(handle.tick, true) !== null))
10591059
h1 = tickSize;
10601060
this.ticks.push(handle.grpos); // keep graphical positions of major ticks
@@ -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);
1162+
const text = this.format(lbl_pos[nmajor], true, fmt);
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);
1179+
let text = this.format(lbl_pos[nmajor], true, fmt);
11801180
if (text === null)
11811181
continue;
11821182

0 commit comments

Comments
 (0)