Back to templates

Matplotlib Bar chart

FreeGeneral

Classic Matplotlib Bar chart template, Suitable for displaying grouped comparison data. Support multiple groups side by side.

Publisher: OOPLOT
Published: 2026/4/1
ID: 2
Usage: 0·Views: 0·Favorites: 0
PYTHONmatplotlib

Parameters (7)

  • Width (Default: 8)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Bar color (Default: steelblue)
  • Transparency (Default: 0.8)
  • and 2 more parameters...
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • Category column(First column)CategoricalRequired
  • Value column(Second column)NumericRequired
Row Constraints: 2 ~ 50 rows

Sample Data

You can directly copy and save as data.csv for upload.

Group,Value
Control,3.2
Treatment A,5.8
Treatment B,4.5
Chart Preview

Preparing environment, please wait…

How to Use

1.Choose Template

Search by keywords or AI search to find templates that meet your needs, or upload literature to extract templates in one click.

2.Preview Example

View example data to ensure data format matches template requirements, or ask AI to adjust/modify templates to fit your data format.

3.Upload Data

Upload your data file, run the template, and preview the results.

4.Export Chart

Adjust parameters, modify code, or let AI help you modify templates and charts, then export in PNG / JPG / SVG / PDF formats.