Ticket #5938 (closed defect: duplicate)
graph plotting -- ploting of graphs (networks) is somehow messed up/scaled wrong/cropped wrong since it doesn't work with graphics_array
|Reported by:||was||Owned by:||rlm|
|Report Upstream:||N/A||Reviewers:||Jason Grout|
Description (last modified by jdemeyer) (diff)
Want to see some truly hideous plotting output? Try this:
Q = GraphQuery(display_cols=['graph6','num_vertices','degree_sequence'],num_edges=['<=',5],min_degree=1) v = Q.get_graphs_list(); v graphics_array([g.plot() for g in v], 3, len(v)//3).show()
I guess the problem is maybe Networkx drawing the plots instead of Sage (??), hence the cropping/layout is wrong? I don't know. Why do we use networkx at all for any part of plotting? It would be better to plot to native Sage primitives, wouldn't it?
Fixed by #9211.
comment:10 Changed 17 months ago by jason
- Status changed from needs_review to positive_review
- Milestone changed from sage-4.8 to sage-duplicate/invalid/wontfix