Skip to content

Commit 157e387

Browse files
ferdymercuryguitargeek
authored andcommitted
[hist] remove default 1deg offset in th2poly textn
Fixes #18374
1 parent 3f41e4c commit 157e387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hist/histpainter/src/THistPainter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4287,7 +4287,7 @@ Int_t THistPainter::MakeChopt(Option_t *choptin)
42874287
}
42884288
memcpy(l," ", 4);
42894289
l = strstr(chopt,"N");
4290-
if (l && fH->InheritsFrom(TH2Poly::Class())) Hoption.Text += 3000;
4290+
if (l && fH->InheritsFrom(TH2Poly::Class())) Hoption.Text = 3000 + (Hoption.Text != 1 ? Hoption.Text : 0);
42914291
Hoption.Color = 0;
42924292
}
42934293
l = strstr(chopt,"COLZ");

0 commit comments

Comments
 (0)