Decreased the number of x points and keeping the distribution looklike.

This PR just decreased the number of x points in histogram.py to avoid excessive data load whereas we keep the shape of the distributions.
My local benchmarks give me around 2-3X improvement in the plot loading with these little changes.