Skip to content

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

Merged
anntzer merged 2 commits into
matplotlib:masterfrom
MaartenBaert:faster-legend-loc-best-squashed
Mar 8, 2017
Merged

Implement Path.intersects_bbox in C++ to speed up legend positioning.#8224
anntzer merged 2 commits into
matplotlib:masterfrom
MaartenBaert:faster-legend-loc-best-squashed

Conversation

@MaartenBaert

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

anntzer commented Mar 8, 2017

Copy link
Copy Markdown
Contributor

Thanks for this very useful contribution.

@NelleV

NelleV commented Mar 9, 2017

Copy link
Copy Markdown
Member

That PR uses functions that don't exist anymore.

@NelleV

NelleV commented Mar 9, 2017

Copy link
Copy Markdown
Member

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