From f9a84ee0b1757da182caca25755aa05cf3ef9d5a Mon Sep 17 00:00:00 2001 From: julienschuermans Date: Tue, 8 Dec 2020 14:42:57 +0100 Subject: [PATCH] improve docs for return value --- pyod/models/copod.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyod/models/copod.py b/pyod/models/copod.py index 235515cdb..7a1a4aa2a 100644 --- a/pyod/models/copod.py +++ b/pyod/models/copod.py @@ -138,8 +138,9 @@ def explain_outlier(self, ind, cutoffs=None): # pragma: no cover Returns ------- - Plot : matplotlib plot - The dimensional outlier graph for data point with index ind. + Data: tuple of pandas.Series + All data from the dimensional outlier graph for + the point with index ind. """ cutoffs = [1 - self.contamination, 0.99] if cutoffs is None else cutoffs