plot_histogram
Visualize numeric distributions with customizable bins, KDE overlay, and log scaling. Use to detect skewness, bimodality, or subgroups during exploratory data analysis.
Instructions
Plot a histogram for a numeric column with optional KDE overlay and log-scaled x-axis. Use during EDA to understand numeric distributions. Set log_scale=True for skewed data (revenue, prices) — otherwise histogram is unreadable. Check for bimodality indicating subgroups. Example: plot_histogram(column="Revenue", bins=50, kde=True, log_scale=True)
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_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kde | No | ||
| bins | No | ||
| column | Yes | ||
| df_name | No | ||
| log_scale | No | ||
| save_path | No |