From 43a2a6438c336a2b12fc7de813ac451d6d5ad413 Mon Sep 17 00:00:00 2001 From: urigott Date: Mon, 4 Sep 2023 00:42:52 +0300 Subject: [PATCH] yet another try --- rtichoke/rtichoke.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rtichoke/rtichoke.py b/rtichoke/rtichoke.py index b6aa4e7..179cab6 100644 --- a/rtichoke/rtichoke.py +++ b/rtichoke/rtichoke.py @@ -1,6 +1,7 @@ """rtichoke is a package for interactive vizualization of performance metrics """ import numpy as np +from typing import Union from .helpers.helper_functions import tprint @@ -25,8 +26,8 @@ class Rtichoke: def __init__( self, - probs: tuple[list | np.ndarray], - reals: tuple[list | np.ndarray], + probs: Union[list, np.ndarray], + reals: Union[list, np.ndarray], by: float = 0.01, cal_n_bins: int = 100, cal_strategy: str = "quantile",