How to plot the histogram of image width in python?
ok i will give you the steps, but the coding has to be done by you
assuming you have python installed and pip in you machine

Install pillow using pip
get the images in the script and calculate the width and store them in a list, you will get to know how to calculate width from the Pillow documentation
Install matplotlib using pip
Pass that list you created from the images to the plotting function of matplotlib.
the Histogram representation can be found in Matlpoltlib documentation

hope it helps,
I have some training images (more than 20 image with format .tif)that i want to plot their  histogram of width in python. I will be more than happy if any one can helps.