I am using VS Code and Solarized Dark theme. When I save a Gadfly image, I could not preview it with my image viewer (the whole image looks dark and I can barely see anything). I thought the image has dark background, however when I insert the image in my Latex file, it has a white background.
My code is like:
using Gadfly Cairo figure_1a = plot(sample_option, x = :strike_price, y = :impvol, Geom.line); draw(PNG("01.png", 10inch, 10inch), figure_1a)
The preview is like this
When I upload it to website, it is like this
When I preview it with shotwell viewer, its background becomes black