--- title: hist description: OpenBB Terminal Function --- # hist Histogram with density and rug ### Usage ```python hist [-b BINS] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | n_bins | | 15 | True | range(10, 100) | ![hist](https://user-images.githubusercontent.com/46355364/154306947-aaba936a-ac07-40e2-a5a6-bf1fab460cd0.png) ---