FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix build with numpy master. by anntzer · Pull Request #15833 · matplotlib/matplotlib · GitHub

Repository navigation

Fix build with numpy master. - #15833

Closed
anntzer wants to merge 1 commit into
matplotlib:masterfrom
anntzer:numpy-master
Closed

anntzer wants to merge 1 commit into
matplotlib:masterfrom
anntzer:numpy-master

Conversation

anntzer commented Dec 4, 2019 •
edited
Loading

Copy link
Copy Markdown
Contributor

Specifically, fix places where we build object arrays implicitly, as
that's deprecated on numpy master.

The change to colors.py may possibly(?) make conversion to rgba actually
slightly faster as we avoid the conversion to array in some cases.
(Edit: indeed, it's 2x faster in the relevant case, lifted this to its own PR: #15834.)

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 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/api_changes.rst if API changed in a backward-incompatible way

Specifically, fix places where we build object arrays implicitly, as
that's deprecated on numpy master.

The change to colors.py may possibly(?) make conversion to rgba actually
slightly *faster* as we avoid the conversion to array in some cases.

anntzer commented Dec 8, 2019

Copy link
Copy Markdown
Contributor Author

Made obsolete by the reversion of numpy's patch.

anntzer closed this Dec 8, 2019
anntzer deleted the numpy-master branch December 8, 2019 23:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL