miranov25 / RootInteractive

5 stars 12 forks source link

Parametrized transforms #274

Closed pl0xz0rz closed 1 year ago

pl0xz0rz commented 1 year ago

This PR adds support for parameters in axis transforms. Before: parameters only worked if there was only one axis transform - was a case of the JS callback modifying the wrong value

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 76.36s (0:01:16) =================================================================================

real    1m17.794s
user    10m49.552s
sys     0m38.016s
miranov25 commented 1 year ago

The function works well also for real use case: file:///lustre/alice/users/miranov/NOTES/alice-tpc-notes2/JIRA/ATO-614/dEdxWithGasGain.html