title: Weighted Degree Distribution in Python's graph_tool
body: <p>In Pythons <a href="http://graph-tool.skewed.de/" rel="nofollow">graph_tool</a>, is there an easy way to calculate the weighted degree distribution (sum of the weights on out-going, in-coming, or all edges)?</p>
  
  <p>In the <strong>Stats</strong> package, <strong>vertex_hist</strong> gives the un-weighted in-degree, out-degree, and total-degree histograms, but there doesn't seem to be a way to get the weighted version of these.</p>
  
  <p>Note: I am working with 31,000 vertices and >10 million edges. I am looking for a way to do this utilizing graph_tool as as much as possible.</p>