Python Charts
    • Matplotlib 87 The core library, with full control over every element
    • Plotly 40 Interactive charts for the web and notebooks
    • Seaborn 29 Statistical plots straight from DataFrames
    • Pandas 12 Quick charts with df.plot()
    • Altair 5 Declarative charts built on Vega-Lite
    • Bokeh 5 Interactive plots with linked tools and widgets
    • Plotnine 3 ggplot2's grammar of graphics in Python
    • Streamlit 12 Charts inside Streamlit data apps
    • A/B Testing 15 Sample size, analysis and sequential tests
    • Machine Learning 14 Evaluate and explain scikit-learn models
    • Causal Inference 16 Diff-in-diff, synthetic control, IV and more
    • AI 1 Use LLMs to build charts from your data
  • Python
  • Chart Gallery
  • All Posts
  • Hatch Patterns on Bar Charts and Fills in Matplotlib
    Matplotlib

    Hatch Patterns on Bar Charts and Fills in Matplotlib

    Add stripes, crosses, and dots to bars, areas, and pie wedges with the hatch argument, and control the pattern's color, density, and line width.

    Nov 27, 2026
    matplotlib hatch bar chart fill_between styling

Python plotting and visualization demystified

© 2026 PythonCharts.com. All rights reserved.
  • About
  • Python Chart Gallery
  • Credits
  • Privacy Policy