Skip to main content
Ctrl+K
You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Matplotlib 3.11.0.dev2324+ge4790d9dd documentation - Home Matplotlib 3.11.0.dev2324+ge4790d9dd documentation - Home
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
  • Gitter
  • Discourse
  • GitHub

Section Navigation

  • Non-linear scales on 3D axes
  • 3D performance improvements
  • Instructions for writing "What's new" entries
  • Standard getters/setters for axis inversion state
  • bar_label supports individual padding per label
  • BarContainer properties
  • Arrow-style sub-classes of BoxStyle support arrow head resizing
  • broken_barh() vertical alignment though align parameter
  • CallbackRegistry.disconnect allows directly callbacks by function
  • Setting the default color cycle to a named color sequence
  • Colormaps support giving colors for bad, under and over values on creation
  • Tuning transparency of colormaps
  • axes.prop_cycle rcParam security improvements
  • 3D depth-shading fix
  • Figure size units
  • Fonts addressable by all their SFNT family names
  • Specifying font feature tags
  • Saving figures as GIF works again
  • Grouped bar charts
  • hist() supports a single color for multiple datasets
  • New environment variable to ignore system fonts
  • Missing glyphs use Last Resort font
  • legend.linewidth rcParam and parameter
  • Complex text layout with libraqm
  • Maximum levels on log-scaled contour plots are now respected
  • Improved selection of log-scale ticks
  • Mathtext distinguishes italic and normal font
  • Separate styling options for major/minor grid line in rcParams
  • Okabe-Ito accessible color sequence
  • Partial figsize specification at figure creation
  • edgegapcolor for Patches
  • PatchCollection legends now supported
  • Improved font embedding in PDF
  • Adding labels to pie chart wedges
  • Figures can be attached to and removed from pyplot
  • RadioButtons and CheckButtons widgets support flexible layouts
  • Zooming using mouse wheel
  • Separated hatchcolor from edgecolor
  • Six and eight color Petroff color cycles
  • Callable valfmt for Slider and RangeSlider
  • Snapping 3D rotation angles with Control key
  • Stackplot styling
  • Streamplot integration control
  • Multiple arrows on a streamline
  • Resetting the subplot parameters for figure.clear()
  • mathtext support for \phantom, \llap, \rlap
  • Specifying text language
  • Support for loading TrueType Collection fonts
  • Twin Axes delta_zorder
  • PDF files created with usetex now embed subsets of Type 1 fonts
  • borderpad accepts a tuple for separate x/y padding
  • violin_stats simpler method parameter
  • violinplot now accepts color arguments
  • WebAgg scroll capture control
  • xtick and ytick rotation modes
  • Consistent zoom boxes
  • Release notes
  • Next what's new?
  • BarContainer properties

BarContainer properties#

BarContainer gained new properties to easily access coordinates of the bars:

  • bottoms

  • tops

  • position_centers

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2025 The Matplotlib development team.

Created using Sphinx 9.1.0.

Built from v3.10.8-2324-ge4790d9dd.

Built with the PyData Sphinx Theme 0.17.0.