xxxxxxxxxx
import warnings; warnings.filterwarnings('ignore')
g=graphs.SzekeresSnarkGraph()
[g.set_edge_label(u,v,u) for u,v,l in g.edges()]
gp=g.graphplot(vertex_shape='H',vertex_color='lightgrey',
vertex_size=400,color_by_label=True)
gp.show(figsize=(5,5))
No comments:
Post a Comment