@@ -226,7 +226,7 @@ The feature `evcxr` should be enabled when including Plotters to Jupyter Noteboo
226226The following code shows a minimal example of this.
227227
228228``` text
229- :dep plotters = { version = "^0.3.6", default_features = false, features = ["evcxr", "all_series", "all_elements"] }
229+ :dep plotters = { version = "^0.3.6", default-features = false, features = ["evcxr", "all_series", "all_elements"] }
230230extern crate plotters;
231231use plotters::prelude::*;
232232
@@ -504,7 +504,7 @@ plotters = { git = "https://github.com/plotters-rs/plotters.git" }
504504
505505### Reducing Depending Libraries && Turning Off Backends
506506Plotters now supports use features to control the backend dependencies. By default, ` BitMapBackend ` and ` SVGBackend ` are supported,
507- use ` default_features = false` in the dependency description in ` Cargo.toml ` and you can cherry-pick the backend implementations.
507+ use ` default-features = false` in the dependency description in ` Cargo.toml ` and you can cherry-pick the backend implementations.
508508
509509- ` svg ` Enable the ` SVGBackend `
510510- ` bitmap ` Enable the ` BitMapBackend `
@@ -513,16 +513,16 @@ For example, the following dependency description would avoid compiling with bit
513513
514514``` toml
515515[dependencies ]
516- plotters = { git = " https://github.com/plotters-rs/plotters.git" , default_features = false , features = [" svg" ] }
516+ plotters = { git = " https://github.com/plotters-rs/plotters.git" , default-features = false , features = [" svg" ] }
517517```
518518
519519The library also allows consumers to make use of the [ ` Palette ` ] ( https://crates.io/crates/palette/ ) crate's color types by default.
520- This behavior can also be turned off by setting ` default_features = false` .
520+ This behavior can also be turned off by setting ` default-features = false` .
521521
522522### List of Features
523523
524524This is the full list of features that is defined by ` Plotters ` crate.
525- Use ` default_features = false` to disable those default enabled features,
525+ Use ` default-features = false` to disable those default enabled features,
526526and then you should be able to cherry-pick what features you want to include into ` Plotters ` crate.
527527By doing so, you can minimize the number of dependencies down to only ` itertools ` and compile time is less than 6s.
528528
0 commit comments