From 386a60f2d1dcb3a68fd1e90960cdb6d082b551ae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 08:41:13 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- xbitinfo/xbitinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbitinfo/xbitinfo.py b/xbitinfo/xbitinfo.py index b2d22fc8..3791b2bf 100644 --- a/xbitinfo/xbitinfo.py +++ b/xbitinfo/xbitinfo.py @@ -384,6 +384,7 @@ def load_bitinformation(label): else: raise FileNotFoundError(f"No bitinformation could be found at {label+'.json'}") + def get_cdf_without_artificial_information( info_per_bit, bitdim, threshold, tolerance, bit_vars ): @@ -605,7 +606,6 @@ def get_keepbits(info_per_bit, inflevel=0.99, information_filter=None, **kwargs) return keepmantissabits - def _cdf_from_info_per_bit(info_per_bit, bitdim): """Convert info_per_bit to cumulative distribution function on dimension bitdim.""" # set below rounding error from last digit to zero