Skip to content

Commit

Permalink
Adjust TScatter zscale to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Jun 18, 2024
1 parent b9059b3 commit a284609
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/hist2d/TScatterPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ class TScatterPainter extends TGraphPainter {
}
if (maxc <= minc)
maxc = minc < 0 ? 0.9*minc : (minc > 0 ? 1.1*minc : 1);
else if ((minc > 0) && (minc < 0.3*maxc))
minc = 0;
this.fContour = new HistContour(minc, maxc);
this.fContour.createNormal(30);
this.fContour.configIndicies(0, 0);
Expand Down

0 comments on commit a284609

Please sign in to comment.