Required to update to puffin 0.18
egui::ViewportBuilder
eframe::NativeOptions
This example shows that you can save a plot in egui as a png.
cargo run -p save_plot