Fix inconsistency with the handling of the 'weights' keyword and input data for hist().
Authored by: weathergod 2010-07-29
Parent: [r8594]
Child: [r8596]