Back to templates

Matplotlib Grouped bar chart

General

Grouped bar chart with multiple groups side by side, Suitable for multi-condition experimental comparison.

Publisher: OOPLOT
Published: 2026/4/1
ID: 25
Usage: 0·Views: 0·Favorites: 0
PYTHONmatplotlibnumpy

Parameters (4)

  • Width (Default: 9)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Chart title (Default: Grouped Bar Chart)
Create from this template

Template Inheritance

Parent:None
Children:None

Data Format Requirements

Required Columns

  • Category column(First column)CategoricalRequired
Row Constraints: 2 ~ 15 rows

Example Data

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

Category,A,B
4.1,1.29
3.8,1.97
9.3,-0.19
8.2,0.16
3.5,0.74
5.5,-0.22
5.4,0.92
8.4,1.35
6.5,1.74
7.7,1.43
5.2,0.09
7.4,0.07
5.7,-1.75
9.8,-1.53
5.4,-1.79
Chart Preview
Matplotlib Grouped bar chart

How to Use

1.Extract/Search/Create Template

Upload images to let AI extract templates in one click, search and select templates, or create templates.

2.View Sample Data

View sample data and manually or via AI modify the data structure to meet template requirements.

3.Upload Data & Run

Upload data, run the template, preview results, and adjust parameters/code to modify the template and chart.

4.Save & Export Chart

Export charts in PNG / JPG / SVG / PDF formats or save to OOPLOT.