File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,13 @@ def plot_2d_respones_metric(
23
23
** kwargs : dict
24
24
) -> None :
25
25
26
- data_plot = prepare_2d_hist_data (
27
- data = data ,
28
- metric1 = metric1 ,
29
- metric2 = metric2 ,
26
+ data_plot = _prepare_2d_hist_data (
27
+ data = data .experiments ,
28
+ metrics = [metric1 , metric2 ],
30
29
)
31
30
32
- joint_bins = kwargs .get ('joint_bins' , default = 50 )
33
- marginal_bins = kwargs .get ('marginal_bins' , default = 50 )
31
+ joint_bins = kwargs .get ('joint_bins' , 50 )
32
+ marginal_bins = kwargs .get ('marginal_bins' , 50 )
34
33
35
34
sns .jointplot (
36
35
data = data_plot ,
@@ -318,7 +317,7 @@ def _filter(
318
317
return data_ret
319
318
320
319
321
- def prepare_2d_hist_data (
320
+ def _prepare_2d_hist_data (
322
321
data : pd .DataFrame ,
323
322
metrics : list [str ]= [
324
323
"aac" , "auc" , "dss" ,
You can’t perform that action at this time.
0 commit comments