xxxxxxxxxx
@interact
def _(N=[1,2,4,5,10,20]):
D=graphs.DodecahedralGraph()
p=[[i..i+N-1] for i in [0,N,..,20-N]]
D.show(partition=p,figsize=(5,5))
No comments:
Post a Comment