Axes.hist: fix bug in handling of weights kwarg; thanks to Jeff Klukas.
Also use weights kwarg in examples/histogram_demo_extended.
Authored by: efiring 2010-05-17
Parent: [r8316]
Child: [r8318]