Back to templates

Matplotlib Horizontal bar chart

General

Horizontally oriented bar chart, Suitable for data comparison with long category names.

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

Parameters (6)

  • Width (Default: 8)
  • Height (Default: 6)
  • DPI (Default: 300)
  • Bar color (Default: teal)
  • Transparency (Default: 0.8)
  • and 1 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 ~ 20 rows

Example Data

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

Category,Value
8.8,1.66
9.6,-1.71
8.3,0.42
4,-0.88
6.2,1.36
6.2,1.42
6.7,-1.54
6.1,1.84
7.1,1.56
6.6,-1.33
4.2,-0.83
6.8,1.46
8.9,1.76
4.9,-0.32
6.9,-0.57
Chart Preview
Matplotlib Horizontal 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.