implement Hist2DPainter, keep generic code in base HistPainter class