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
  • Stacked Bar Charts in Python
    Python

    Stacked Bar Charts in Python

    Make stacked bar charts with pandas, Matplotlib, Seaborn, plotnine, Altair, and Plotly, including labels and 100% stacked bars.

    Jan 21, 2021
    matplotlib pandas seaborn plotnine altair plotly bar chart stacked bar chart
  • Pie Charts with Labels in Matplotlib
    Matplotlib

    Pie Charts with Labels in Matplotlib

    Creating pie charts with labels, percentages, and custom colors in Matplotlib

    Jan 17, 2021
    matplotlib pie chart
  • Change the Figure Size in Matplotlib
    Matplotlib

    Change the Figure Size in Matplotlib

    Set the figure size with figsize in plt.figure() or plt.subplots(), resize an existing figure, and size plots in pixels.

    Jan 12, 2021
    matplotlib figure size plot size figsize dpi
  • Histograms in Matplotlib
    Matplotlib

    Histograms in Matplotlib

    Plot a histogram with plt.hist(), choose the bins, show percentages or density, and compare several groups.

    Dec 06, 2020
    matplotlib histogram bins distributions
  • Rotate Axis Labels in Matplotlib
    Matplotlib

    Rotate Axis Labels in Matplotlib

    Rotate x and y tick labels in Matplotlib with tick_params, plt.xticks, or plt.setp, and keep them aligned with their ticks.

    May 17, 2019
    matplotlib axis style tick labels rotation
  • Violin Plots in Seaborn
    Seaborn

    Violin Plots in Seaborn

    A short tutorial on creating and customizing violin plots in Seaborn

    Apr 24, 2019
    seaborn violin plot
  • Radar Charts in Matplotlib
    Matplotlib

    Radar Charts in Matplotlib

    A quick tutorial on radar charts in Matplotlib

    Apr 16, 2019
    matplotlib radar chart
  • A Short Intro to Seaborn
    Seaborn

    A Short Intro to Seaborn

    A short intro to get up and running with Seaborn

    Apr 15, 2019
    seaborn scatterplot scatter plot
  • An Intro to Plotnine
    Plotnine

    An Intro to Plotnine

    Getting started with Plotnine, Python's ggplot2 clone

    Apr 11, 2019
    plotnine scatterplot scatter plot
  • Grouped Bar Charts with Labels in Matplotlib
    Matplotlib

    Grouped Bar Charts with Labels in Matplotlib

    Create grouped bar charts in Matplotlib with value labels, using ax.bar offsets, ax.grouped_bar, or pandas.

    Mar 26, 2019
    matplotlib bar chart grouped bar chart bar_label
  • Beautiful Bar Charts in Matplotlib
    Matplotlib

    Beautiful Bar Charts in Matplotlib

    Transforming the default Matplotlib bar chart into a simple, stylish visualization

    Mar 16, 2019
    matplotlib bar chart
  • A Brief Introduction to Altair
    Altair

    A Brief Introduction to Altair

    A brief introduction to the Altair Python visualization library

    Mar 13, 2019
    altair scatterplot scatter plot
  • « Previous
  • 1
  • …
  • 12
  • 13
  • 14 (current)
  • »

Python plotting and visualization demystified

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