About 160,000 results
Open links in new tab
  1. matplotlib.pyplot.hist — Matplotlib 3.10.8 documentation

    Compute and plot a histogram. This method uses numpy.histogram to bin the data in x and count the number of values in each bin, then draws the distribution either as a BarContainer or Polygon.

  2. numpy.histogramNumPy v2.3 Manual

    The histogram is computed over the flattened array. If bins is an int, it defines the number of equal-width bins in the given range (10, by default). If bins is a sequence, it defines a monotonically increasing …

  3. Plotting Histogram in Python using Matplotlib - GeeksforGeeks

    Oct 14, 2025 · Histograms are one of the most fundamental tools in data visualization. They provide a graphical representation of data distribution, showing how frequently each value or range of values …

  4. Matplotlib Histograms - W3Schools

    In Matplotlib, we use the hist() function to create histograms. The hist() function will use an array of numbers to create a histogram, the array is sent into the function as an argument.

  5. Plot a Histogram in Python Using Matplotlib

    Sep 10, 2025 · Learn how to plot histograms in Python using Matplotlib with step-by-step examples. Explore multiple methods, customization options, and real-world use cases.

  6. Python Histogram Plotting: NumPy, Matplotlib, pandas & Seaborn

    In this tutorial, you’ll be equipped to make production-quality, presentation-ready Python histogram plots with a range of choices and features.

  7. Python Histogram Gallery | Dozens of examples with code

    A collection of histogram examples made with Python, coming with explanation and reproducible code

  8. HistogramsMatplotlib 3.10.8 documentation

    Generate data and plot a simple histogram # To generate a 1D histogram we only need a single vector of numbers. For a 2D histogram we'll need a second vector. We'll generate both below, and show the …

  9. Plotting Python Histograms: A Comprehensive Guide

    Mar 24, 2025 · In Python, with libraries like matplotlib and seaborn, creating histograms is straightforward and highly customizable. Understanding how to plot histograms in Python can …

  10. NumPy.histogram() Method in Python - GeeksforGeeks

    Apr 28, 2025 · Numpy has a built-in numpy.histogram () function which represents the frequency of data distribution in the graphical form. The rectangles having equal horizontal size corresponds to class …