xxxxxxxxxx
import warnings; warnings.filterwarnings('ignore')
def _(style=[':','-.','--','-'],thick=[2..5]):
g=graphs.SousselierGraph()
[g.set_edge_label(u,v,u) for u,v,l in g.edges()]
gp=g.graphplot(
vertex_color='w',vertex_size=700,
color_by_label=True,edge_thickness=thick,
edge_style=style).show(figsize=(5,5))
No comments:
Post a Comment