def draw_shell(G, **kwargs):
 nlist = kwargs.get('nlist', None)
 if (nlist is not None):
  del kwargs['nlist']
 draw(G, shell_layout(G, nlist=nlist), **kwargs)

def draw_shell ( G , ** kwargs ) : nlist = kwargs . get ( 'nlist' , None ) if ( nlist is not None ) : del kwargs [ 'nlist' ] draw ( G , shell_layout ( G , nlist = nlist ) , ** kwargs )
draw networkx graph with shell layout .