Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

Histograms


Histograms visualize the distribution of numerical data. matplotlib has the handy hist() function that graphs histograms. The hist() function has two main arguments—the array containing the data and the number of bars.