plot_static_barchart
Creates publication-ready bar charts from aggregated numerical data by categorical groups, with optional color splitting for subcategories.
Instructions
Generates a static Seaborn bar chart (for papers/publications). x_column: categorical column for the x-axis groups. y_column: numeric column to aggregate. aggregation: how to aggregate y per group — 'mean' (default), 'sum', 'count', or 'median'. hue_column: optional column to split bars by colour.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_file_path": "<data_file_path>",
"x_column": "<x_column>",
"y_column": "<y_column>",
"title": "<title>",
"x_label": "<x_label>",
"y_label": "<y_label>"
},
"name": "plot_static_barchart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| x_label | Yes | ||
| y_label | Yes | ||
| x_column | Yes | ||
| y_column | Yes | ||
| hue_column | No | ||
| aggregation | No | mean | |
| data_file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |