--- title: hist description: The page provides usage instructions for 'hist' command in Python that creates histograms with density and rug. It also includes details about parameters and the default value. keywords: - hist - histogram - density - rug - parameters - n_bins - Usage - coding --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Histogram with density and rug ### Usage ```python hist [-b N_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) ---