Revision 0a4aa24d util/MyUtil.py

View differences:

util/MyUtil.py
13 13
    if not measures:
14 14
        measures = nx.betweenness_centrality(G, normalized = False, weight = 'weight', endpoints=True)
15 15
    measure_name = "Betweenness"
16
    nodes = nx.draw_networkx_nodes(G, lay, node_size=100, cmap=plt.cm.gnuplot2, 
16
    nodes = nx.draw_networkx_nodes(G, lay, node_size=25, cmap=plt.cm.gnuplot2, 
17 17
                                   node_color=measures.values(),
18 18
                                   nodelist=measures.keys())
19 19
    nodes.set_norm(mcolors.SymLogNorm(linthresh=0.01, linscale=1))

Also available in: Unified diff