About 209,000 results
Open links in new tab
  1. Histograms — Matplotlib 3.10.8 documentation

    Tags: plot-type: histogram plot-type: histogram2d domain: statistics styling: color component: normalization component: patch References The use of the following functions, methods, classes …

  2. Plotting Histogram in Python using Matplotlib - GeeksforGeeks

    Jan 13, 2026 · A histogram is a type of bar plot where: The X-axis represents intervals (called bins) of the data. The Y-axis represents the frequency of values within each bin. Unlike regular bar plots, …

  3. Plot a Vertical line in Matplotlib - GeeksforGeeks

    Jul 23, 2025 · The axvline () function adds a vertical line at a specified x-coordinate across entire height of the plot. It is one of the simplest and most commonly used methods for drawing vertical lines. …

  4. The histogram (hist) function with multiple data sets - Matplotlib

    The histogram (hist) function with multiple data sets # Plot histogram with multiple sample sets and demonstrate: Use of legend with multiple sample sets Stacked bars Step curve with no fill Data sets …

  5. How to Add Vertical Lines to a Distribution Plot - GeeksforGeeks

    Jul 23, 2025 · Below are the possible approaches/methods to add vertical lines to a distribution plot. Method 1: Using Seaborn's distplot with matplotlib.pyplot.axvline In this approach, we are using …

  6. seaborn.histplot — seaborn 0.13.2 documentation

    cbar_kwsdict Additional parameters passed to matplotlib.figure.Figure.colorbar(). palettestring, list, dict, or matplotlib.colors.Colormap Method for choosing the colors to use when mapping the hue …

  7. Histogram bins, density, and weight - Matplotlib

    The Matplotlib hist method calls numpy.histogram and plots the results, therefore users should consult the numpy documentation for a definitive guide. Histograms are created by defining bin edges, and …

  8. matplotlib.pyplot.vlines — Matplotlib 3.10.8 documentation

    matplotlib.pyplot.vlines # matplotlib.pyplot.vlines(x, ymin, ymax, colors=None, linestyles='solid', *, label='', data=None, **kwargs) [source] # Plot vertical lines at each x from ymin to ymax. Parameters: …

  9. matplotlib.pyplot.histMatplotlib 3.10.8 documentation

    For large numbers of bins (>1000), plotting can be significantly accelerated by using stairs to plot a pre-computed histogram (plt.stairs(*np.histogram(data))), or by setting histtype to 'step' or 'stepfilled' …

  10. Matplotlib Histogram – How to Visualize Distributions in Python

    Matplotlib histogram is used to visualize the frequency distribution of numeric array. In this article, we explore practical techniques like histogram facets, density plots, plotting multiple histograms in same …