Skip to content

Commit d98f9af

Browse files
committed
Remove stacklevel from warning
1 parent ef8afe8 commit d98f9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alibi_detect/utils/visualize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def plot_feature_outlier_image(od_preds: Dict,
8080
instance_ids = instance_ids[:n_instances]
8181

8282
if outliers_only and n_instances == 0:
83-
warnings.warn('No outliers found!', UserWarning, stacklevel=3)
83+
warnings.warn('No outliers found!', UserWarning)
8484
return
8585

8686
n_cols = 2

0 commit comments

Comments
 (0)