Re: [graph-tool] Understanding avg_neighbour_corr

2015-06-05 Thread Tiago de Paula Peixoto
On 04.06.2015 23:01, Santiago Videla wrote: From the docs I'd expect h[0][1] == np.mean(w) (which is the case) and h[1][1] == np.std(w) (which is not the case). As it is written in the documentation, the second value computed is the standard deviation of the _mean_, not the standard deviation

Re: [graph-tool] How to control the orientation of the graph topology

2015-06-05 Thread Tiago de Paula Peixoto
On 05.06.2015 15:28, Xun Xiao wrote: Hi Tiago, sometimes, when delete the graph and create a new one, then plot it, the plotted graph is shown upside down (in terms of the node text). So how could we control the orientation of the graph? Or which parameter we should use to always make node

Re: [graph-tool] How to control the orientation of the graph topology

2015-06-05 Thread Xun Xiao
I can explain a bit. Using your graph_draw() has no problem, however, when I include the GraphWidget in the window of myself, after plotting a graph with specifying node text, the whole graph is upside down, I have to turn 180 degree of the graph. -- View this message in context:

[graph-tool] debian sid - libcgal11

2015-06-05 Thread ...
Hi all, On debian sid, apt-get install python-graph-tool fails for lack of libcgal10. apt-cache search shows libcgal11 is all that's there. also pip install graph-tool cannot find a package to install. Can I install graph-tool through a package manager on debian sid? Thanks, Elliot

Re: [graph-tool] Understanding avg_neighbour_corr

2015-06-05 Thread Santiago Videla
Hi, On Fri, Jun 5, 2015 at 4:31 AM, Tiago de Paula Peixoto ti...@skewed.de wrote: On 04.06.2015 23:01, Santiago Videla wrote: From the docs I'd expect h[0][1] == np.mean(w) (which is the case) and h[1][1] == np.std(w) (which is not the case). As it is written in the documentation, the

Re: [graph-tool] How to control the orientation of the graph topology

2015-06-05 Thread Tiago de Paula Peixoto
On 05.06.2015 16:11, Xun Xiao wrote: I can explain a bit. Using your graph_draw() has no problem, however, when I include the GraphWidget in the window of myself, after plotting a graph with specifying node text, the whole graph is upside down, I have to turn 180 degree of the graph. Well,