Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix PolyCollection.set_verts optimization. #18030

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
merged 1 commit into from
Jul 23, 2020

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Jul 23, 2020

PR Summary

It should only trigger on 3D arrays (i.e., (Npolys, M, 2)-shaped arrays), and not, e.g., object arrays of 2D array-likes.

Also, fix a small doc typo.

Fixes #18017.

PR Checklist

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

It should only trigger on 3D arrays (i.e., (Npolys, M, 2)-shaped
arrays), and not, e.g., object arrays of 2D array-likes.

Also, fix a small doc typo.

Fixes matplotlib#18017.
@QuLogic QuLogic added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Jul 23, 2020
@QuLogic QuLogic added this to the v3.3.1 milestone Jul 23, 2020
@jklymak jklymak merged commit c6b11f0 into matplotlib:master Jul 23, 2020
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jul 23, 2020
tacaswell added a commit that referenced this pull request Jul 23, 2020
…030-on-v3.3.x

Backport PR #18030 on branch v3.3.x (Fix PolyCollection.set_verts optimization.)
@QuLogic QuLogic deleted the fix-poly-verts-opt branch July 23, 2020 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimisation in set_verts causes error if verts have irregular sizes
3 participants