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

Merged
merged 2 commits into from Mar 8, 2017

Conversation

Projects
None yet
4 participants
Contributor

MaartenBaert commented Mar 7, 2017

Squashed version of PR #8126.

@MaartenBaert MaartenBaert Implement Path.intersects_bbox in C++ to speed up legend positioning.
c814beb
+(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:
@anntzer

anntzer Mar 7, 2017

Contributor

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.

@anntzer

anntzer Mar 7, 2017

Contributor

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

@anntzer anntzer fix rst markup
b048fc4

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

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
Contributor

anntzer commented Mar 8, 2017

Thanks for this very useful contribution.

Contributor

NelleV commented Mar 9, 2017

That PR uses functions that don't exist anymore.

Contributor

NelleV commented Mar 9, 2017

or I need to rebuild my c code :)

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