parameters: (self, style='.')
docstring: Plot the degree dstribution on a loglog scale
  
      USAGE topology.draw_degree_distribution(style = 'r.')
  
      style: MatPlotLib line style.
docstring_summary: Plot the degree dstribution on a loglog scale
docstring_tokens: Plot the degree dstribution on a loglog scale
function: def _draw_degree_distribution(self, style='.'):
      """
      Plot the degree dstribution on a loglog scale
  
      USAGE topology.draw_degree_distribution(style = 'r.')
  
      style: MatPlotLib line style.
      """
      try:
          import matplotlib.pyplot as pl
      except ImportError:
          raise ImportError('Could not improt the MatPlotLib module.')
      dd = self.get_degree_distribution()
      pl.figure()
      pl.loglog(dd, style)
      pl.xlabel('k - number of links')
      pl.ylabel('p(k) - probability of k')
      pl.show()
function_tokens: def _draw_degree_distribution ( self , style = '.' ) : try : import matplotlib . pyplot as pl except ImportError : raise ImportError ( 'Could not improt the MatPlotLib module.' ) dd = self . get_degree_distribution ( ) pl . figure ( ) pl . loglog ( dd , style ) pl . xlabel ( 'k - number of links' ) pl . ylabel ( 'p(k) - probability of k' ) pl . show ( )