miranov25 / RootInteractive

5 stars 12 forks source link

NaN handling in histograms, simplified compression insterface #282

Closed pl0xz0rz closed 1 year ago

pl0xz0rz commented 1 year ago

This PR: -Makes infinite values not count for auto ranges in histograms -Removes NaN when computing mean and std -Simplifies the interface for array compression - TODO: remove the need for "base64" at the end and ignore if it's specified as the last step for back compatibility reasons

miranov25 commented 1 year ago

Standard test OK

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------------------------------------------------------------------------------ JSON report ------------------------------------------------------------------------------------------------
report saved to: test6.json
================================================================================= 37 passed, 7 warnings in 72.67s (0:01:12) =================================================================================

real    1m14.888s
user    13m57.596s
sys     0m48.160s
miranov25 commented 1 year ago

Realistic use case is OK: