Skip to content

Commit 0532e82

Browse files
committed
Next formating
1 parent bd5352c commit 0532e82

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

modules/base/ObjectPainter.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,8 @@ class ObjectPainter extends BasePainter {
10801080
txt = arg.txt_node;
10811081
delete arg.txt_node;
10821082
is_txt = true;
1083-
if (optimize_arr !== null) optimize_arr.push(txt);
1083+
if (optimize_arr !== null)
1084+
optimize_arr.push(txt);
10841085
} else if (arg.txt_g) {
10851086
txt = arg.txt_g;
10861087
delete arg.txt_g;

modules/hist/hist3d.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,8 @@ function drawXYZ(toplevel, AxisPainter, opts) {
10051005
lbl = this.x_handle.format(xticks.tick, 2);
10061006

10071007
if (xticks.last_major()) {
1008-
if (!this.x_handle.fTitle) lbl = 'x';
1008+
if (!this.x_handle.fTitle)
1009+
lbl = 'x';
10091010
} else if (lbl === null) {
10101011
is_major = false; lbl = '';
10111012
}
@@ -1273,7 +1274,8 @@ function drawXYZ(toplevel, AxisPainter, opts) {
12731274
lbl = this.y_handle.format(yticks.tick, 2);
12741275

12751276
if (yticks.last_major()) {
1276-
if (!this.y_handle.fTitle) lbl = 'y';
1277+
if (!this.y_handle.fTitle)
1278+
lbl = 'y';
12771279
} else if (lbl === null) {
12781280
is_major = false; lbl = '';
12791281
}

0 commit comments

Comments
 (0)