Can't figure-out how to use plotters_bitmap::bitmap_pixel::RGBPixel #376
-
Hello, Recently, the back-ends were merged into plotters itself. To accommodate for this, I've modded my Cargo.toml as thus:
And in my source file I have:
The issue is that I can't figure-out the path to RBGPixel now... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Looks like only the backend is re-exported and not the crate itself: https://github.com/plotters-rs/plotters/blob/master/plotters/src/lib.rs#L855-L857 Note that the backends weren't merged into plotters but are now simply part of this repo. This means that you still need this (unless plotters-bitmap will be re-exported as whole crate at some point): plotters-bitmap = { git = "https://github.com/plotters-rs/plotters.git", default_features = false, features = ["line_series", "ttf", "bitmap_backend"] } |
Beta Was this translation helpful? Give feedback.
Looks like only the backend is re-exported and not the crate itself: https://github.com/plotters-rs/plotters/blob/master/plotters/src/lib.rs#L855-L857
Note that the backends weren't merged into plotters but are now simply part of this repo. This means that you still need this (unless plotters-bitmap will be re-exported as whole crate at some point):