About 286,000 results
Open links in new tab
  1. How to add labels to a boxplot figure (pylab) - Stack Overflow

    Note that, as of version 3.2.1 of Matplotlib, you can specify xlabels directly through boxplot argument labels, which must be a list of length compatible with the dimensions of your dataset. –

  2. matplotlib.pyplot.boxplotMatplotlib 3.10.3 documentation

    Draw a box and whisker plot. The box extends from the first quartile (Q1) to the third quartile (Q3) of the data, with a line at the median. The whiskers extend from the box to the farthest data …

  3. Boxplots — Matplotlib 3.10.3 documentation

    The following examples show off how to visualize boxplots with Matplotlib. There are many options to control their appearance and the statistics that they use to summarize the data.

  4. python - Matplotlib BoxPlot Labels and Title - Stack Overflow

    Sep 25, 2020 · I am trying to create a boxplot in matplotlib and I get an error when trying to add the labels. This is the code that pulls an error: df_selected_station_D.boxplot(column='20 cm', …

  5. How do I add axis labels to my box plot in python?

    Jan 15, 2021 · You can use matplotlib.pyplot.xlabel("label"). For instance (I used random values since I do not have your csv): import numpy as np import pandas as pd import …

  6. Text, labels and annotations — Matplotlib 3.10.1 documentation

    Box plot vs. violin plot comparison; ... Controlling style of text and labels using a dictionary. ... Michael Droettboom and the Matplotlib development team; 2012–2025 The Matplotlib …

  7. How to name the ticks in a python matplotlib boxplot

    Python matplotlib has a boxplot command. Normally, all the parts of the graph are numerically ticked. How can I change the ticks to names instead of positions? For illustration, I mean the …

  8. How to Customize Matplotlib Boxplot X-Axis Labels: A …

    Aug 4, 2024 · Matplotlib boxplot x axis label customization is an essential skill for data visualization enthusiasts. In this comprehensive guide, we’ll explore various techniques to …

  9. Box Plot in Python using Matplotlib - GeeksforGeeks

    Apr 14, 2025 · labels: specifies custom labels for the boxes. Output: We will customize the plot by adding a notch, filling the boxes with colors, and modifying the whisker and median styles. …

  10. Box Plot in Matplotlib - Matplotlib Color

    Feb 1, 2024 · In this article, we will explore box plots and how to create them using the Matplotlib library in Python. We will cover the basic syntax and parameters to customize our plots, and …

Refresh