force type double in plot()

Sending 128-bit floats would crash because somewhere in biggles' guts it refused to work with 128 bit.

Also changed the return of the make_hist helper to match numpy.histogram