Skip to content

Plotly.deleteFrames(gd, null) should delete *all* frames #1528

Closed
@rreusser

Description

@rreusser

Currently, I think Plotly.deleteFrames('graph', null); will throw an error as it expects a list of frame indices to be deleted. This seems like an oversight. To match animate(gd, null), it should probably delete all frames. If there's agreement, I'll make this quick fix.

will fail here: https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_api.js#L2767

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions