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

MAINT: Vectorize bar3d by eric-wieser · Pull Request #12137 · matplotlib/matplotlib · GitHub

Repository navigation

MAINT: Vectorize bar3d - #12137

Merged
QuLogic merged 5 commits into
matplotlib:masterfrom
eric-wieser:bar3d-simplify
Sep 24, 2018
Merged

QuLogic merged 5 commits into
matplotlib:masterfrom
eric-wieser:bar3d-simplify

Conversation

eric-wieser commented Sep 17, 2018 •
edited
Loading

Copy link
Copy Markdown
Contributor

This refactors bar3d to use numpy to compute all the coordinates in parallel.

I'm not certain if this actually results in a speed increase, but it does result in a clarity improvement,

This spun out of #12136, which raised the fact that bar3d does not orient its faces correctly (#12138). This patch does not fix that, but it does make it easy to fix in a subsequent revision.

I can split the multiple commits here into multiple PRs if that adds value.

eric-wieser changed the title MAINT: Vectorize the bar3d MAINT: Vectorize bar3d Sep 17, 2018

eric-wieser commented Sep 17, 2018 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Flake8 failures seem to not be part of this patch?

./lib/mpl_toolkits/mplot3d/axes3d.py:1692:80: E501 line too long (84 > 79 characters)
./lib/mpl_toolkits/mplot3d/axes3d.py:1705:80: E501 line too long (83 > 79 characters)
2     E501 line too long (84 > 79 characters)

anntzer commented Sep 17, 2018

Copy link
Copy Markdown
Contributor

Style issue is fixed by #12139, feel free to rebase on top of it.

eric-wieser commented Sep 17, 2018 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Too lazy to do that. I'll just close and re-open this PR once that one is merged to restart CI

anntzer commented Sep 17, 2018

Copy link
Copy Markdown
Contributor

merged #12139

eric-wieser reopened this Sep 17, 2018

Copy link
Copy Markdown
Contributor Author

CI now passes - thanks!

dstansby added this to the v3.1 milestone Sep 24, 2018
QuLogic merged commit 5d2d37e into matplotlib:master Sep 24, 2018
eric-wieser deleted the bar3d-simplify branch March 23, 2019 18:06
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL