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 874e89b

Browse files
authored
Merge pull request #54 from firefueled/imgopts-allow-jpg
Allow both jpg and jpeg as possible file formats
2 parents a6a419a + 9af6bf1 commit 874e89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ plotly.getFigure('fileOwner', 'fileId', function (err, figure) {
172172

173173
## plotly.getImage(figure[, options, callback])
174174
`figure` is a JSON object of the graph figure
175-
`options.format` | `jpg`, `png`, `pdf`, `eps`, `webp`
175+
`options.format` | `jpeg`, `png`, `pdf`, `eps`, `webp`
176176
`options.width` | width in `px` (default : 700)
177177
`options.height` | height in `px` (default : 500)
178178

0 commit comments

Comments
 (0)