You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use plotters::prelude::*;
use plotters_bitmap::bitmap_pixel::RGBPixel; // <-- This is WRONG.
//use plotters_bitmap::BitMapBackend; // Not needed anymore, is part of the prelude.
The issue is that I can't figure-out the path to RBGPixel now...
We need to re-export the pixel format types as well for usability.
See the following question in discussions.
--
Hello,
It's a silly thing but I can't figure out where to find RGBPixel for the bitmap back-end.
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...
Originally posted by @TomDeRybel in #376
The text was updated successfully, but these errors were encountered: