Ask Your Question

Revision history [back]

Output of plantri and graphs.planar_graphs

I find the documentation of sage much lacking what is the output of plantri and graphs.planar_graphs?

l = graphs.planar_graphs(4, dual=False)
gen=list(l)
ii=1 G=gen[ii] p=G.plot() p.show()

Output of plantri and graphs.planar_graphs

I find the documentation of sage much lacking what is the output of plantri and graphs.planar_graphs?

I assumed the output would be graphs (could not find documentation on this) and did the following

l = graphs.planar_graphs(4, dual=False)
gen=list(l)
ii=1 G=gen[ii] p=G.plot() p.show()

Output of plantri and graphs.planar_graphs

I find the documentation of sage Sage much lacking what is the output of plantri plantri and graphs.planar_graphs? graphs.planar_graphs?

I assumed the output would be graphs (could not find documentation on this) and did the following

l = graphs.planar_graphs(4, dual=False) 
gen=list(l)
ii=1
gen = list(l) G=gen[ii] p=G.plot() p.show()

ii = 1 G = gen[ii] p = G.plot() p.show()