remove_legend
remove_legend(fig=None)Remove the legend from the plot.
Supports pipe syntax: ggseg3d() | remove_legend()
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| fig | go.Figure | None | The plotly figure to modify. Can be omitted for pipe syntax. | None |
Returns
| Name | Type | Description |
|---|---|---|
| go.Figure | The modified figure (allows chaining). |