Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 659d133

Browse files
ADD docs for deletePlot method
1 parent dc1f541 commit 659d133

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,16 @@ plotly.getFigure('fileOwner', 'fileId', function (err, figure) {
233233
});
234234
});
235235
```
236+
237+
##plotly.deletePlot(fid[, callback])
238+
`fid` is a String, the id of the plot you wish you delete
239+
`callback` is a function with `err` and `msg` as parameters.
240+
241+
```javascript
242+
var plotly = require('../.')('username','apiKey');
243+
244+
plotly.deletePlot('88', function (err, msg) {
245+
if (err) console.log(err)
246+
else console.log(msg);
247+
});
248+
```

0 commit comments

Comments
 (0)