Sam Felix
Sam Felix

Reputation: 1321

igraph python remove border

I am trying to remove the border of node vertices in igraph, but I can't find a way. I found many references on google that in R, you can change this attribute:

vertex.frame.color

but in igraph for python, I could not find a way. Any ideas?

Thanks

Upvotes: 1

Views: 1147

Answers (1)

RickardSjogren
RickardSjogren

Reputation: 4238

If you look into the documentation, it's done in basically the same way. Example:

import igraph
g = igraph.Graph([(0,1), (0,2), (2,1)])
igraph.plot(g, vertex_frame_color='red')

Upvotes: 3

Related Questions