Modular drawing of histograms attempt 1.0