rust-data-analysis
rust-data-analysis copied to clipboard
[Featuređź’„]: Make code DRY
đź‘¶ Getting Started Please search the history to see if an issue already exists for the same problem.
- [X] I have searched the existing issues.
- [X] I have tested the latest version.
📝 Describe the feature
There is a lot of code repetition, especially in tutorial 5 when it comes to drawing. We should create a function that takes multiple vectors as input, the drawing function, LineSeries in this case, colors, title, legend, etc.
📸 Screenshots N/A
🔦 Context Adhere to the DRY principle.