Dimension of graph_tool.stats.vertex_hist

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dimension of graph_tool.stats.vertex_hist

Ben Hong
I found that the returns of counts and bins have different dimensions , it
seems strange.  



--
Sent from: https://nabble.skewed.de/
_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool
Reply | Threaded
Open this post in threaded view
|

Re: Dimension of graph_tool.stats.vertex_hist

Tiago Peixoto
Administrator
Am 05.12.20 um 13:07 schrieb Ben Hong:
> I found that the returns of counts and bins have different dimensions , it
> seems strange.

Did you bother to read the documentation?

It returns the bin counts and the bin *edges*. If we have N bins, there
are N+1 bin edges.

--
Tiago de Paula Peixoto <[hidden email]>

_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool

OpenPGP_0x612DEFB798507F25.asc (40K) Download Attachment
OpenPGP_signature (849 bytes) Download Attachment
--
Tiago de Paula Peixoto <tiago@skewed.de>