Skip to content

Commit fa8b92d

Browse files
committed
add jsDoc to Plotly.purge
1 parent 3ce6c4b commit fa8b92d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/plot_api/plot_api.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2394,6 +2394,12 @@ Plotly.relayout = function relayout(gd, astr, val) {
23942394
});
23952395
};
23962396

2397+
/**
2398+
* Purge a graph container div back to its initial pre-Plotly.plot state
2399+
*
2400+
* @param {string id or DOM element} gd
2401+
* the id or DOM element of the graph container div
2402+
*/
23972403
Plotly.purge = function purge(gd) {
23982404
gd = getGraphDiv(gd);
23992405

0 commit comments

Comments
 (0)