<s> from ascii_graph import Pyasciigraph <EOL> from ascii_graph . colors import * <EOL> test = [ ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , Pur ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , Red ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , Red ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , Gre ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:200> , Yel ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:100> , Cya ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:50> , Blu ) ] <EOL> graph = Pyasciigraph ( ) <EOL> for line in graph . graph ( '<STR_LIT>' , test ) : <EOL> print ( line ) <EOL> test = [ ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , BPur ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , URed ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , IRed ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , BIGre ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , UYel ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , ICya ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> , BBlu ) ] <EOL> graph = Pyasciigraph ( ) <EOL> for line in graph . graph ( '<STR_LIT>' , test ) : <EOL> print ( line ) <EOL> from ascii_graph . colordata import vcolor <EOL> test = [ ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:200> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:100> ) , <EOL> ( '<STR_LIT>' , <NUM_LIT:50> ) ] <EOL> pattern = [ Gre , Yel , Red ] <EOL> data = vcolor ( test , pattern ) <EOL> for line in graph . graph ( '<STR_LIT>' , data ) : <EOL> print ( line ) <EOL> exit ( <NUM_LIT:0> ) </s>
