Specifying name of exported images in Literate.jl

Hello,

I have followed the recommendation in Literate.jl's docs to export plots as PNGs as follows

p = plot(...)
DisplayAs.PNG(p)

which saves the figure and inserts the link. The trouble is that the image file has always different name, which makes it very difficult to add to git repository and upload to github. Is it possible to somehow prescribe the name of file, or make it deterministic?

Thanks for answer,
Tomas

1 Like