File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
bindings/pyroot/pythonizations/python/ROOT/_pythonization Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -494,8 +494,7 @@ def _values_default(self) -> np.typing.NDArray[Any]: # noqa: F821
494494 return ret .reshape (_shape (self ), order = "F" )[tuple ([slice (1 , - 1 )] * len (_shape (self )))]
495495
496496
497- # Special case for TH1K: we need the array length to correspond to the number of bins
498- # according to the UHI plotting protocol
497+ # Special case for TH*C and TProfile*
499498def _values_by_copy (self , include_flow_bins = False ) -> np .typing .NDArray [Any ]: # noqa: F821
500499 from itertools import product
501500
@@ -566,8 +565,6 @@ def _get_sum_of_weights_squared(self) -> np.typing.NDArray[Any]: # noqa: F821
566565 "TH1C" : _values_by_copy ,
567566 "TH2C" : _values_by_copy ,
568567 "TH3C" : _values_by_copy ,
569- "TH2K" : _values_by_copy ,
570- "TH3K" : _values_by_copy ,
571568 "TProfile" : _values_by_copy ,
572569 "TProfile2D" : _values_by_copy ,
573570 "TProfile2Poly" : _values_by_copy ,
You can’t perform that action at this time.
0 commit comments