Plots.jl icon indicating copy to clipboard operation
Plots.jl copied to clipboard

[FR] Safe figure saving

Open isentropic opened this issue 5 years ago • 3 comments

Perhaps savefig should be safe by default and error upon already existing file, and have a unsafe tag. This has hurt me multiple with multiple libraries. In scientific context it is better not to override by default I think. This is breaking, but it should be better long term.

isentropic avatar Sep 22 '20 04:09 isentropic

I'm skeptical about this. I believe this should be the other way around (if ever implemented), savefig with an optional safe=false keyword, defaulting to overwriting the files.

t-bltg avatar Aug 03 '21 09:08 t-bltg

Maybe we can reopen this @t-bltg ? Unsafe saving has burned all of us at some point. Maybe we discuss this with the community>

isentropic avatar Sep 28 '21 09:09 isentropic

I am with @isentropic on this one.

oameye avatar May 03 '22 06:05 oameye