plot_violin
Visualize data distributions with violin plots, combining box plot and KDE to reveal shape, skewness, and multimodality. Optionally group by a categorical column for comparison.
Instructions
Violin plot: combines box plot with KDE to show full distribution shape. Better than boxplot for skewed or multimodal distributions. Optional grouping. Example: plot_violin(column="Revenue", by="CargoType")
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": {
"column": "<column>"
},
"name": "plot_violin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| column | Yes | ||
| df_name | No | ||
| save_path | No |