Back to templates

Matplotlib Grouped bar chart

Members OnlyGeneral

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

Sample Data

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

Category,A,B
Control,3.2,4.1
Treatment,5.8,6.2
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.