Skip to content

Commit

Permalink
Draw cont5 axis as is - add title
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Nov 15, 2024
1 parent 3f4b35e commit 7f35eb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/hist/TGraph2DPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1103,8 +1103,10 @@ class TGraph2DPainter extends ObjectPainter {
return this.Markers || this.Error || this.Circles || this.Line || this.Triangles || res.Contour;
};

if (res.isAny()) {
res.Axis = res.Contour ? 'axis' : 'lego2';
if (res.Contour)
res.Axis = '';
else if (res.isAny()) {
res.Axis = 'lego2';
if (res.Zscale) res.Axis += 'z';
} else
res.Axis = opt;
Expand Down

0 comments on commit 7f35eb2

Please sign in to comment.