Box Plot
plot_box_plotCompare distributions across multiple groups with a customizable box plot, including labels, title, axis labels, and color.
Instructions
Create a box plot for comparing distributions (requires matplotlib).
Examples: plot_box_plot([[1, 2, 3, 4, 5], [2, 4, 6, 8, 10]], group_labels=["A", "B"]) plot_box_plot([[10, 20, 30], [15, 25, 35], [5, 15, 25]], title="Comparison")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Box color (name or hex code, e.g., 'blue', '#2E86AB') | |
| title | No | Chart title string, e.g., 'Distribution Comparison' | Box Plot |
| y_label | No | Y-axis label, e.g., 'Values' | Values |
| data_groups | Yes | List of data groups to compare, e.g., [[1, 2, 3], [4, 5, 6]] | |
| group_labels | No | Labels for each group, e.g., ['Group A', 'Group B'] |