modify_plot
Modify an existing plot's title, colors, size, labels, and legend position. Returns updated PNG and HTML.
Instructions
Modify an existing plot's appearance. Returns updated PNG + HTML.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmap | No | Colormap name (e.g. 'viridis', 'plasma', 'Set1') | |
| title | No | New title | |
| width | No | New width in pixels | |
| height | No | New height in pixels | |
| xlabel | No | X-axis label | |
| ylabel | No | Y-axis label | |
| plot_id | Yes | ID of the plot to modify | |
| color_by | No | Column to re-color by | |
| legend_position | No | Legend position (e.g. 'top_right', 'bottom_left') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |