Please goto https://github.com/JakkuSakura/plotters-gpui for more information.
Due to gpui not being published on crates.io, you need to add the following to your Cargo.toml
:
[dependencies]
plotters-gpui = { git = "https://github.com/JakkuSakura/plotters-gpui" }
You might be interested in https://github.com/JakkuSakura/gpui-plot, as it provides interactivity and more stuff on top of plotters-gpui
plotters-gpui try to maintain very good performance compared to that in javascript/python, even better than CPU based plotting libraries
Use the following environment variable to enable Metal Performance HUD:
MTL_HUD_ENABLED=1
Enables the Metal Performance HUD.
MTL_HUD_ENABLED=1 cargo run ...