-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Milestone
Description
Currently, when you export a png from a plotly figure, it is saved as newplot.png
. Since most plots (the good ones anyways :) ) have titles specified, it would be great if the file could take its name from the figure title. E.G. if there is a figure with the title Daily Active Users
, it could be saved as Daily Active Users.png
.
This is particularly helpful when working in a jupyter notebook with multiple figures - at the moment, exporting multiple figures just yields a bunch of files called newplot.png
, newplot (1).png
, etc...
It might be a quick fix here:
plotly.js/src/snapshot/download.js
Line 53 in b896b19
var filename = opts.filename || gd.fn || 'newplot'; |