Files
egui/examples/save_plot

This example shows that you can save a plot in egui as a png.

cargo run -p save_plot