This tool produces a histogram (i.e. a frequency distribution graph) for the values contained within an input raster file (input). The histogram will be embedded within an output (output_html_file) HTML file, which should be automatically displayed after the tool has completed. The user may optionally specify the number of bins (num_bins) used in the histogram. If unspecified, this is calculated as:

num_bins = ((rows * columns)).log2().ceil() + 1

See Also

attribute_histogram

Function Signature

def raster_histogram(self, raster: Raster, output_html_file: str) -> None: ...

Project Links

WbW Homepage User Manual Support WbW