plotlars 0.12.0

Plotlars is a Rust library designed to facilitate the integration between the Polars data analysis library and visualization libraries.
use plotlars::{CandlestickPlot, CsvReader, Direction, Plot, Rgb};

fn main() {
    let dataset = CsvReader::new("data/financial_timeseries.csv")
        .finish()
        .unwrap();

    let increasing = Direction::new()
        .line_color(Rgb(38, 166, 91))
        .line_width(1.0);

    let decreasing = Direction::new()
        .line_color(Rgb(239, 85, 59))
        .line_width(1.0);

    CandlestickPlot::builder()
        .data(&dataset)
        .dates("date")
        .open("open")
        .high("high")
        .low("low")
        .close("close")
        .increasing(&increasing)
        .decreasing(&decreasing)
        .plot_title("Candlestick Plot")
        .build()
        .plot();
}