added option to leave empty bins out in the ratio (instead of plotting an infinite error)