plotters
plotters copied to clipboard
A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely π¦ ππ
Updates the requirements on [ttf-parser](https://github.com/RazrFalcon/ttf-parser) to permit the latest version. Changelog Sourced from ttf-parser's changelog. [0.18.1] - 2023-01-10 Fixed (MATH) Handle NULL offsets. Thanks to laurmaedje. [0.18.0] - 2022-12-25 Added...
**Describe the bug** I'm trying to make an histogram with some large number of data entries, and I feel rotating the text would suffice. The initial problem is that the...
Hello, In the current implementation, `RangedDuration` won't align key_points to One Day, One Hour, One Minut or One Second. This cause the label is hard to read. https://github.com/plotters-rs/plotters/blob/c34fcc0a13394f19e86d199fa5fb5b004c650d27/plotters/src/coord/ranged1d/types/datetime.rs#L761-L787  The...
**Describe the bug** Hi, Hope I don't miss anything. I am trying to create a text style that would make the text bold. While anchoring, coloring and other styling of...
The code below will trigger the bugοΌit seems float overflow. ------------- fn test_plot_bug() -> Result { use plotters::prelude::*; let mut datas: Vec = vec![0.0; 2000]; for i in 0..datas.len() {...
**Describe the bug** The `Quartiles` struct calculates the Q1 & Q3 lower/upper median values using a linear regression which is not how quartile ranges should be calculated over a discrete...
In https://github.com/plotters-rs/plotters/pull/362, the image dependency was bumped from 0.23 to 0.24, which is a breaking update. Plotters exposes the image API, for example in the From implementation of BitMapElement, so...
**Describe the bug** I start to get this error on `build_cartesian_2d`: ``` thread 'main' panicked at library/core/src/panicking.rs:215:5: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and...
Solved a potential unaligned read vulnerability by updating criterion. For more information see [rustsec](https://rustsec.org/advisories/RUSTSEC-2021-0145) for more information.