-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I was following the quickstart guide example on https://docs.rs/plotters/0.3.0/plotters/ and I noticed that the image was not generating when the folder doesn't exist. There is no warning or error. It seems like it is intended that if the folder doesn't exist, the folder would be created.
To Reproduce
let root = BitMapBackend::new("folder-that-doesnt-exist/0.png", (640, 480)).into_drawing_area();
needs to be changed to
let root = BitMapBackend::new("folder-that-exists/0.png", (640, 480)).into_drawing_area();
or
let root = BitMapBackend::new("0.png", (640, 480)).into_drawing_area();
Version Information
plotters = "0.3" from Crates.io
kestivvi, adriandelgado, rgreenblatt, ijackson, ModProg and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working