Two graphics libraries are in common use in Python: Matplotlib and Seaborn. Seaborn is an extension of Matplotlib that addresses a few specific graphics challenges, including histograms and boxplots.
the histogram should be sent to a file with the same name as the input one, but with the suffix '.hist' (it should be concatenated to the original name) ...