python-igraph icon indicating copy to clipboard operation
python-igraph copied to clipboard

Set of multi-edges goes outside of plot boundary with matplotlib

Open szhorvat opened this issue 4 years ago • 3 comments

When using the matplotlib backend, multi edges sometimes go out of the plot boundary in undirected graphs. This does not happen in directed graphs, though.

Is this expected? Since it works correctly with directed graphs, I would expect it to work with undirected too.

ig.plot(ig.Graph.Formula('1-2-1-2-1', simplify=False))
ig.plot(ig.Graph.Formula('1->2<-1<-2->1', simplify=False))
image

Tested with current develop branch.

szhorvat avatar Dec 12 '21 19:12 szhorvat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 12 '22 23:02 stale[bot]

is this still a bug in develop?

iosonofabio avatar Feb 13 '22 11:02 iosonofabio

Yes.

szhorvat avatar Feb 13 '22 11:02 szhorvat