Added bins argument to hist2d rendering