def graph_atlas(i):
 if (not (0 <= i < NUM_GRAPHS)):
  raise ValueError('index must be between 0 and {}'.format(NUM_GRAPHS))
 return next(islice(_generate_graphs(), i, None))

def graph_atlas ( i ) : if ( not ( 0 <= i < NUM_GRAPHS ) ) : raise ValueError ( 'index must be between 0 and {}' . format ( NUM_GRAPHS ) ) return next ( islice ( _generate_graphs ( ) , i , None ) )
returns graph number i from the graph atlas .