I created the diagram fig with VegaLite.jl and want to send it via e-mail by using SMTPClient.jl without creating a temporary file, but using IOBuffer to do it directly in the memory.
I tried this here, but it does not work:
ERROR: LoadError: UndefVarError: @format_str not defined
Does somebody have an idea what is wrong with VegaLite.save(FileIO.Stream{format"PNG"}(io), fig, "png")
or knows another method how to send a VegaLite.jl diagram via e-mail without creating a file?