improved removing of histogram bars, requires matplotlib 1.2