forked from matplotlib/matplotlib
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add path code information to Poly3DCollection
Fixes matplotlib#4784 by adding path code information to the Poly3DCollection. This adds two new methods, path_to_3d_segment_with_codes and paths_to_3d_segments_with_codes which are meant to replace the versions without "_with_codes". A method was added to PolyCollection to allow Poly3DCollection to set vertices with path codes. Add image test for a case that causes improper polygon rendering without this fix. This code was adapted from a PR by @ianthomas23.
- Loading branch information
Showing
7 changed files
with
583 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Binary file added
BIN
+3.86 KB
lib/mpl_toolkits/tests/baseline_images/test_mplot3d/contourf3d_fill.pdf
Binary file not shown.
Binary file added
BIN
+39.5 KB
lib/mpl_toolkits/tests/baseline_images/test_mplot3d/contourf3d_fill.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.