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

Fixed polygon3d rendering bug issue #178 by ianthomas23 · Pull Request #1928 · matplotlib/matplotlib · GitHub

Repository navigation

Fixed polygon3d rendering bug issue #178 - #1928

Closed
ianthomas23 wants to merge 1 commit into
matplotlib:v1.2.xfrom
ianthomas23:178_polygon3d_render_bug
Closed

ianthomas23 wants to merge 1 commit into
matplotlib:v1.2.xfrom
ianthomas23:178_polygon3d_render_bug

Conversation

Copy link
Copy Markdown
Member

This is a candidate fix for the mplot3d polygon rendering bug of issue #178; it will also allow PR #1299 to proceed.

The changes are all in the mplot3d code, except for one new function in collections.py which is only called from mplot3d code. With this fix the test script added by @WeatherGod to #178 works OK, and all the existing mplot3d examples work as before.

The code changes are not elegant, but are consistent with existing mplot3d code.

I haven't PEP8'd the changes as the original mplot3d files haven't been PEP8'd yet.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This changes the API of this function. The correct way to go about this is to deprecate this one and have a new function set up to replace it. Or, have a kwarg defaulting to False to indicate whether to return the codes as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@WeatherGod: I have changed all code that calls this and the other function you have highlighted. I see these as internal (i.e. private) functions, even though they are do not have leading underscores.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

They are not private. These are public methods to objects that people do manipulate in the wild. You will have to go through the proper process for this change.

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.

2 participants


Back | FazBrowse Home | New Git URL