Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Special case degree-1 Bezier curves.#17994

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dopplershift merged 1 commit intomatplotlib:masterfromanntzer:bez
Jul 21, 2020

Conversation

anntzer
Copy link
Contributor

This greatly speeds up extent computation for the common case of
polylines. (We were previously only special-casing the degree-0 case.)

Partiallyfixes#17974 (4x speedup locally). My guess is that the real fix will involve restoring a special-case in Path.get_extents for paths that do not contain curves, but this fix is still useful by itself with no additional complexity cost.

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code isFlake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/next_api_changes/* if API changed in a backward-incompatible way

This greatly speeds up extent computation for the common case ofpolylines.  (We were previously only special-casing the degree-0 case.)
@jklymakjklymak added this to thev3.4.0 milestoneJul 21, 2020
@dopplershiftdopplershift merged commit096d0ac intomatplotlib:masterJul 21, 2020
@anntzeranntzer deleted the bez branchJuly 21, 2020 18:10
@QuLogic
Copy link
Member

@meeseeksdev backport to v3.3.x

@QuLogicQuLogic modified the milestones:v3.4.0,v3.3.1Aug 5, 2020
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 5, 2020
QuLogic added a commit that referenced this pull requestAug 5, 2020
…994-on-v3.3.xBackport PR#17994 on branch v3.3.x (Special case degree-1 Bezier curves.)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@dopplershiftdopplershiftdopplershift approved these changes

@jklymakjklymakjklymak approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.3.1
Development

Successfully merging this pull request may close these issues.

Major speed regression introduced in "plt.bar" definition clipping between 3.0.3 and 3.3.0.
4 participants
@anntzer@QuLogic@dopplershift@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp