From d57f934927e0222224c04fcb1ce9a07696cc80aa Mon Sep 17 00:00:00 2001 From: Jacan Chaplais Date: Wed, 22 Feb 2023 15:55:13 +0000 Subject: [PATCH] added leaves attribute to docs #99 --- graphicle/data.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/graphicle/data.py b/graphicle/data.py index efcd37b..ea37d1f 100644 --- a/graphicle/data.py +++ b/graphicle/data.py @@ -1753,6 +1753,19 @@ class AdjacencyList(base.AdjacencyBase): Scalar value embedded on each edge. matrix : ndarray Adjacency matrix representation. + leaves : MaskArray + Provides a mask for selecting the leaves of a DAG / tree. + + .. versionadded:: 0.2.4 + data : ndarray + Underlying array data. Identical to ``edges`` attribute, + included for consistency with ``base.ArrayBase`` numpy + interfaces. + + .. versionadded:: 0.2.4 + + Methods + ------- """ _data: base.AnyVector = _array_field("