v0.9.0
Major changes:
Even faster aggregation π
We switched our aggregation backend to tsdownsample, which alleviates the need to compile our C code on non-supported devices, and has parallelization capabilities.
tsdownsample leverages the argminmax crate, which has SIMD-optimized instruction to find vertical extrema really fast!
With parallelization enabled, you should clearly see a bump in perfomance when visualizing (multiple) large traces! π
Versioned docs! :party:
We restyled our documentation and added versioning! π
https://predict-idlab.github.io/plotly-resampler/latest/
Go check it out! βοΈ
Other Features
- Support for log-scale axes (and thus log-bin-based aggregators) - check this pull-request
 
The above image shows how the
logaggregator (row2) will use log-scale bins. This can be seen in the 1-1000 range when comparing both subplots.
Note: the shown data has a fixed delta-x of 1. Hence, here are no exact equally spaced bins for the left part of the LogLTTB.
The above image shows how the
fill_valueoption can be used to fill gaps with a specific value.
This can be of greate use, when you use thefill='tozeroy'option in plotly and gaps occur in your data, as this will, combined withline_shape='vh', fill the area between the trace and the x-axis and gaps will be a flat zero-line.
Bugfixes
- support for pandas2.0 intricacies
 
What's Changed (generated)
- fix: handle bool dtype for x in LTTB_core_py by @jvdd in #183
 - fix: add colors to streamlit example π¨ by @jvdd in #187
 - docs: describe solution in FAQ for slow datetime arrays by @jvdd in #184
 - Rework aggregator interface by @jvdd in #186
 - π integrate with tsdownsample by @jvdd in #191
 - refactor: use composition for gap handling by @jvdd in #199
 - β¨ np.array interface implementation by @jonasvdd in #154
 - π§Ή fix typo in docstring + remove LTTB from MinMaxLTTB + remove interleave_gaps by @jonasvdd in #201
 - chore: use ruff instead of isort by @jvdd in #200
 - π adding marker props by @jonasvdd in #148
 - Datetime bugfix by @jonasvdd in #209
 - Fixes #210 by @jonasvdd in #211
 - Log support by @jonasvdd in #207
 - Datetime range by @jonasvdd in #213
 - β¨ add fill_value option to gap handlers by @jonasvdd in #218
 - β¨ fix 
limit_to_view=Truebut no gaps inserted bug by @jonasvdd in #220 - π convert trace props to array + check for nan removal by @jvdd in #225
 - Figurewidget datetime bug by @jonasvdd in #232
 - β»οΈ deprecate JupyterDash in favor for updated Dash version by @NielsPraet in #233
 - π comment out reset layout by @jvdd in #228
 - Docs/versioned docs (#236) by @jonasvdd in #237
 
Full Changelog: v0.8.3.2...v0.9.0

