Skip to content

Commit cd8e939

Browse files
committed
No need to draw axes grids once again
It is implemented already in frame painter
1 parent aff768e commit cd8e939

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/JSRootPainter.hist.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,10 +2157,7 @@
21572157
if (!this.is_main_painter() || this.options.Same) return;
21582158

21592159
var fp = this.frame_painter();
2160-
if (!fp) return;
2161-
2162-
fp.DrawAxes(false, this.options.Axis < 0, this.options.AxisPos, this.options.Zscale);
2163-
fp.DrawGrids();
2160+
if (fp) fp.DrawAxes(false, this.options.Axis < 0, this.options.AxisPos, this.options.Zscale);
21642161
}
21652162

21662163
THistPainter.prototype.ToggleTitle = function(arg) {

0 commit comments

Comments
 (0)