mpl_mcp_plot_stack
Generate stacked area or bar charts by plotting provided x and y data. Customize titles, labels, colors, grid, and legend for clear data visualization in Fermat MCP.
Instructions
Plots stacked area/bar chart of given datavalues
Input Schema
Name | Required | Description | Default |
---|---|---|---|
alpha | No | ||
chart_type | No | area | |
colors | No | ||
dpi | No | ||
figsize | No | ||
grid | No | ||
labels | No | ||
legend | No | ||
title | No | ||
x_data | Yes | ||
xlabel | No | ||
y_data | Yes | ||
ylabel | No |
Input Schema (JSON Schema)
{
"properties": {
"alpha": {
"default": 0.7,
"title": "Alpha",
"type": "number"
},
"chart_type": {
"default": "area",
"title": "Chart Type",
"type": "string"
},
"colors": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Colors"
},
"dpi": {
"default": 200,
"title": "Dpi",
"type": "integer"
},
"figsize": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Figsize"
},
"grid": {
"default": true,
"title": "Grid",
"type": "boolean"
},
"labels": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Labels"
},
"legend": {
"default": true,
"title": "Legend",
"type": "boolean"
},
"title": {
"default": "",
"title": "Title",
"type": "string"
},
"x_data": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
}
],
"title": "X Data"
},
"xlabel": {
"default": "",
"title": "Xlabel",
"type": "string"
},
"y_data": {
"anyOf": [
{
"items": {
"items": {
"type": "number"
},
"type": "array"
},
"type": "array"
},
{
"items": {
"type": "number"
},
"type": "array"
}
],
"title": "Y Data"
},
"ylabel": {
"default": "",
"title": "Ylabel",
"type": "string"
}
},
"required": [
"x_data",
"y_data"
],
"type": "object"
}