Adding ggplot
library as a dependency
Run this command in a terminal, in your project's directory:
cargo add ggplot
To add it manually, edit your project's Cargo.toml
file and add to the [dependencies]
section:
ggplot = "0.1.1"
The ggplot
library will be automatically available globally.
Read the ggplot
library documentation.