How to get individual plots in PDF

for r in eachrow(df)
    p = plot([r.a], [r.b]; title="ID: $(r.id)", seriestype=:scatter)
    savefig(p, "temp.pdf")
    append_pdf!("plots.pdf", "temp.pdf"; cleanup=true)
end

Something like this?

1 Like