Skip to content

Implement Path.intersects_bbox in C++ to speed up legend positioning. #8224

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

Conversation

MaartenBaert
Copy link
Contributor

Squashed version of PR #8126.

(the default value), there is no change in behavior. For those rare cases where
``Path.intersects_bbox`` was called with ``filled`` set to ``False`` and where
the old behavior is actually desired, the suggested workaround is to call
``Path.intersects_path`` with a rectangle as the path:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to end the paragraph with two colons (::) so that what follows is treated as a code block.
You can just commit --amend and force push.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will edit this myself after Appveyor passes (it is actually important for this PR), and skip the rebuild.

@anntzer anntzer merged commit 2fd6129 into matplotlib:master Mar 8, 2017
@anntzer
Copy link
Contributor

anntzer commented Mar 8, 2017

Thanks for this very useful contribution.

@NelleV
Copy link
Member

NelleV commented Mar 9, 2017

That PR uses functions that don't exist anymore.

@NelleV
Copy link
Member

NelleV commented Mar 9, 2017

or I need to rebuild my c code :)

@QuLogic QuLogic added this to the 2.1 (next point release) milestone Mar 9, 2017
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.

4 participants