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

use column_stack to speed up gather_points #75

Merged
merged 2 commits into from
Aug 10, 2012
Merged

Conversation

tgbrooks
Copy link

gather_points function in lineplot uses transpose(array( (xs,ys) )) instead of the much faster column_stack( (xs,ys) ).

There are a number of other places in the code where array() is also used, like in the render_hold functions, which presumably could also be sped up like this, but I haven't tried.

pberkes pushed a commit that referenced this pull request Aug 10, 2012
use column_stack to speed up gather_points
@pberkes pberkes merged commit c9cd546 into master Aug 10, 2012
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.

None yet

3 participants