title: Plotting log-binned network degree distributions
body: <p>I have often encountered and made long-tailed degree distributions/histograms from complex networks like the figures below. They make the heavy end of these tails, well, very heavy and crowded from many observations:</p>
  
  <p><img src="https://i.stack.imgur.com/R7RzP.png" alt="Classic long-tailed degree distribution"> </p>
  
  <p>However, many publications I read have much cleaner degree distributions that don't have this clumpiness at the end of the distribution and the observations are more evenly-spaced.</p>
  
  <p>!<img src="https://i.imgur.com/RxAq46b.png" alt="Classic long-tailed degree distribution"></p>
  
  <p>How do you make a chart like this using <code>NetworkX</code> and <code>matplotlib</code>?</p>