xxxxxxxxxx
@interact
def _(layout=['spring','circular'],n=[3,4,5]):
dg=digraphs.Kautz(n,2)
dg.show(vertex_color='silver',vertex_size=300,
layout=layout,edge_style='-.',
color_by_label=True,figsize=(5,5))
No comments:
Post a Comment