Ask Your Question

deinst's profile - activity

2018-07-11 13:12:00 -0500 received badge  Nice Question (source)
2018-07-11 11:51:45 -0500 commented answer graph vertex labelling

Thanks. I had looked at the matplotlib page, but had not expected that '_' or '|' would do what I wanted.

2018-07-11 11:49:13 -0500 received badge  Scholar (source)
2018-07-11 06:36:12 -0500 received badge  Supporter (source)
2018-07-11 02:17:46 -0500 received badge  Student (source)
2018-07-10 13:39:54 -0500 received badge  Editor (source)
2018-07-10 13:19:28 -0500 asked a question graph vertex labelling

I have a graph (poset actually) that has a rational function labelling each vertex. I would like to show just the edges and the vertex labels. If I try to set vertex_shape='None' I get a crash deep in matplotlib. If I try anything else I get the marker symbol printed over the label. For example

  P = RootSystem(['A',3]).root_poset()
  P.show(vertex_color='white')

Will show the graph with circles over the labels. If I shrink the labels, then the edges cover the labels. If I do

  P = RootSystem(['A',3]).root_poset()
  P.show(vertex_color='white', vertex_shape='None')

there is a strange crash.