ENH: Let hist() work with plain arrays

In case someone is mistaken our hist with the original one.