Fix bug: hist2d hangs when the range is not valid
Fix bug: hist2d hangs when the range is not valid

If no sample locates in the (wrongly) given range, `H` will be all zeros, and the function will hang forever later at 
line `while np.any(m):`.
Raise an error to help the users know why.
dfm/corner.py