CLI

CLI#

For compatibility with the original Hist library, we provide a CLI as well.

usage: hist [-h] [-i INPUT] [-b BUCKETS] [-s SCREEN_WIDTH] [-t LABEL]
            [-o OUTPUT_IMAGE]

options:
  -h, --help            show this help message and exit
  -i, --input INPUT     input file to read from (stdin by default)
  -b, --buckets BUCKETS
                        number of bins
  -s, --screen-width SCREEN_WIDTH
                        maximum screen width
  -t, --label LABEL     label for plot
  -o, --output-image OUTPUT_IMAGE
                        save image to file