Closed maximelucas closed 10 months ago
Running
import xgi H = xgi.sunflower(3, 1, 50)
we get a correct output from H.edges.size.aslist(), that is [50, 50, 50] (three edges of size 50), but
H.edges.size.aslist()
[50, 50, 50]
I guesse it's because there's only one edge size?
Great catch, thanks! I think I can fix this by setting bins=min(np.unique(_vals), bins) or something like that.
bins=min(np.unique(_vals), bins)
Running
we get a correct output from
H.edges.size.aslist()
, that is[50, 50, 50]
(three edges of size 50), butI guesse it's because there's only one edge size?