plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.89k stars 281 forks source link

Clarify Quick Start procedure so program works on first try #593

Closed Soccertanker closed 5 months ago

Soccertanker commented 5 months ago

Previously the quadratic function chart Quick Start instructions did not tell the user to create the subdir plotters-doc-data, where the example code writes 0.png.

When the subdir plotters-doc-data does not exist, the code appropriately panics. This does not leave the user with a good first impression of the repository & rust crate.

Now the instructions clearly tell the user to create the subdirectory before running the example program.