plotters-rs / guide

The Plotters Guide
MIT License
7 stars 5 forks source link

Examples require images directory #2

Closed psiphi75 closed 4 years ago

psiphi75 commented 4 years ago

All the examples require an "images" directory. On the first page of the documentation if you run

cargo run --bin 2_1_chart_context

The example will panic and with the following message:

thread 'main' panicked at 'Unable to save the bitmap: DrawingError(IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }))', src/libcore/result.rs:1165:5

If you add an image/ folder, it works.

38 commented 4 years ago

Thanks, already added!