Skip to content

Setting dashes to (0,0) results in infinite loop for agg backends #1999

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

Merged
merged 1 commit into from
May 14, 2013

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented May 13, 2013

Other backends may also be affected. I have not tested exhaustively.

It would be good to check in GraphicsContextBase.set_dashes that dash_list is not all 0's. Some backends (cairo and gdk) override set_dashes, so those may need to be modified as well.

@ghost ghost assigned mdboom May 13, 2013
@mdboom
Copy link
Member

mdboom commented May 13, 2013

@rephorm: Can you please confirm that the attached patch resolves your problem?

@pelson
Copy link
Member

pelson commented May 14, 2013

👍 - this is good to merge.

mdboom added a commit that referenced this pull request May 14, 2013
Setting dashes to (0,0) results in infinite loop for agg backends
@mdboom mdboom merged commit 616efcf into matplotlib:v1.2.x May 14, 2013
@mdboom mdboom deleted the dashes-infinite-loop branch August 7, 2014 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants