This a python function to draw a histogram of stars(*) from a distribution.
- Draw a histogram from a distribution.
make_histo
which will print the histogram of a distribution of numbers. This function takes as input the name of a file containing a list of numbers sampled from the distribution and two optional parameters: nbin and height which both default to 20.
- Python
You can download or clone this project by running this command from your terminal:
git clone git@github.com:ndayishimiyeeric/python-histogram.git
This will create a directory in the name of the project folder.
Once you have the project files and folders, open it with your text editor.
Next, switch inside the project directory and run:
python test.py
This will draw a histogram from a default distribution default_dist
👤 Odaltoneric
- GitHub: @ndayishimiyeeric
- Twitter: @odaltongain
- LinkedIn: Ndayishimiye Eric
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Hat tip to code reviewers and to everyone who reviewed the project and made suggestions.
This project is MIT licensed.