[SPARK-2861] Fix Doc comment of histogram method

Tested and ready to merge.