Skip to content

Can't figure-out how to use plotters_bitmap::bitmap_pixel::RGBPixel #376

Answered by AaronErhardt
TomDeRybel asked this question in Q&A
Discussion options

You must be logged in to vote

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"] }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TomDeRybel
Comment options

Answer selected by facorread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants