Plot Histogram

This is a plotting method used to examine the distribution of signal within an image.

plantcv.plot_hist(img, 'hist_name')

returns bins,hist, hist plot

Grayscale image

Screenshot

from plantcv import plantcv as pcv

# Examine signal distribution within an image
# prints out an image histogram of signal within image
bins,hist=pcv.plot_hist(img, 'histogram')

Histogram of signal intensity

Screenshot