diff --git a/modules/hist2d/TH2Painter.mjs b/modules/hist2d/TH2Painter.mjs index cf95dc559..08675200d 100644 --- a/modules/hist2d/TH2Painter.mjs +++ b/modules/hist2d/TH2Painter.mjs @@ -1610,7 +1610,7 @@ class TH2Painter extends THistPainter { if (draw_colors && (colindx !== null)) item.style('fill', this._color_palette.getColor(colindx)); else if (draw_fill) - item.call('fill', this.createAttFill(gr).func); + item.call(this.createAttFill(gr).func); else item.style('fill', 'none'); if (draw_lines)