Skip to content

Commit dbe06b8

Browse files
committed
Small formating
1 parent 0532e82 commit dbe06b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

modules/hist/hist3d.mjs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,8 @@ function set3DOptions(hopt) {
883883
/** @summary Draw axes in 3D mode
884884
* @private */
885885
function drawXYZ(toplevel, AxisPainter, opts) {
886-
if (!opts) opts = { ndim: 2 };
886+
if (!opts)
887+
opts = { ndim: 2 };
887888

888889
if (opts.drawany === false)
889890
opts.draw = false;
@@ -1718,8 +1719,7 @@ function drawBinsLego(painter, is_v7 = false) {
17181719
if ((binz1 >= zmax) || (binz2 < zmin))
17191720
return false;
17201721

1721-
if (test_cutg &&
1722-
!test_cutg.IsInside(histo.fXaxis.GetBinCoord(ii + 0.5), histo.fYaxis.GetBinCoord(jj + 0.5)))
1722+
if (test_cutg && !test_cutg.IsInside(histo.fXaxis.GetBinCoord(ii + 0.5), histo.fYaxis.GetBinCoord(jj + 0.5)))
17231723
return false;
17241724

17251725
reduced = (binz2 === zmin) || (binz1 >= binz2);
@@ -1761,7 +1761,8 @@ function drawBinsLego(painter, is_v7 = false) {
17611761
zmax = levels[nlevel+1];
17621762

17631763
// artificially extend last level of color palette to maximal visible value
1764-
if (palette && (nlevel === levels.length - 2) && zmax < axis_zmax) zmax = axis_zmax;
1764+
if (palette && (nlevel === levels.length - 2) && zmax < axis_zmax)
1765+
zmax = axis_zmax;
17651766

17661767
const grzmin = fp.grz(zmin), grzmax = fp.grz(zmax);
17671768
let numvertices = 0, num2vertices = 0;

0 commit comments

Comments
 (0)