Skip to content

Avoid macosx backend slowdown; issue 1563 #1816

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
Mar 27, 2013

Conversation

mdehoon
Copy link
Contributor

@mdehoon mdehoon commented Mar 9, 2013

See issue 1563 : #1563
Due to limitations in Quartz, long paths may be drawn very slowly. This pull requests splits up long paths into stretches of 100 points, and draws them individually. This is much faster for long paths, and resolves issue 1563.

… performance that may occur if long paths are draw
@dmcdougall
Copy link
Member

As a basic test, I plotted range(n) for n = 7, 99, 100, 101, 102, to make sure the whole line was drawn each time. I presume @mdehoon has done a local benchmark to conclude that splitting into chunks of 100 is a good choice.

Would anybody else like to provide feedback before I unleash the magical github ponies?

@efiring
Copy link
Member

efiring commented Mar 27, 2013

I think merging it to master now is a good idea, so it will get more extensive testing.

dmcdougall added a commit that referenced this pull request Mar 27, 2013
Avoid macosx backend slowdown; issue 1563
@dmcdougall dmcdougall merged commit baaf1f4 into matplotlib:master Mar 27, 2013
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.

3 participants