Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
szhorvat opened this issue Dec 12, 2021 · 3 comments
Open

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

szhorvat opened this issue Dec 12, 2021 · 3 comments
Assignees
Labels
todo Triaged for implementation in some unspecified future version

Comments

@szhorvat
Copy link
Member

szhorvat commented Dec 12, 2021

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.

@stale
Copy link

stale bot commented Feb 12, 2022

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 stale bot added the stale label Feb 12, 2022
@szhorvat szhorvat added the todo Triaged for implementation in some unspecified future version label Feb 13, 2022
@stale stale bot removed the stale label Feb 13, 2022
@iosonofabio
Copy link
Member

is this still a bug in develop?

@szhorvat
Copy link
Member Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Triaged for implementation in some unspecified future version
Projects
None yet
Development

No branches or pull requests

2 participants