Skip to content

[MRG] Optimize 3D display (continued) #11577

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

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2a75026
Optimize 3D display (#6085)
AlexandreAbraham Jul 5, 2018
b168bed
Remove irrelevant changes
rth Jul 5, 2018
a3c331d
Fix undefined variables
rth Jul 5, 2018
a5c2bd5
Check diff with respect to the original PR
rth Jul 5, 2018
e955f56
Address some review comments
rth Jul 5, 2018
e227b50
Make _juggle_axes_vec and _rotate_axes_vec private
rth Jul 5, 2018
ee53be5
Address review comments
rth Jul 14, 2018
8244c07
Make TestVoxels.test_rgb_data pass
rth Jul 14, 2018
677e79b
Review comment - use np.split + np.cumsum
rth Jul 14, 2018
d095d26
Fix broadcasting
rth Jul 14, 2018
005f6fb
PEP8
rth Jul 15, 2018
f74f3d7
Better debug message
rth Jul 15, 2018
dda0f82
Merge branch 'master' into optimize_3d
rth Jul 15, 2018
1c1e4a1
Fix for numpy 1.10
rth Jul 15, 2018
7a5c50d
Merge branch 'optimize_3d' of github.com:rth/matplotlib into optimize_3d
rth Jul 15, 2018
7c2c22e
Ignore flake8 exception and code clean-up
rth Jul 15, 2018
b81c118
Fix sphinx build
rth Jul 15, 2018
822f4f7
More review comments
rth Jul 15, 2018
004fff2
Fix PEP8
rth Jul 15, 2018
f7795e0
Address part of Eric's comments
rth Jul 16, 2018
da7f72c
Fix anntzer's comments
rth Jul 16, 2018
17657a4
Address Benjamin's review comments
rth Jul 18, 2018
e43b930
Minor fixes
rth Jul 22, 2018
7211708
Removing _juggle_axes_vec and _rotate_axes_vec
rth Jul 22, 2018
5bfa368
Remove flake8 E231 ignore for art3d.py
rth Jul 22, 2018
5faaa0c
Addressed more eric-weiser's comments
rth Jul 23, 2018
7631cfe
Convert _seg_sizes to array
rth Jul 23, 2018
ad0e783
Handle empty sequences
rth Jul 29, 2018
98d1161
Address review comments
rth Aug 18, 2018
1696d52
Experimentally revert get_colors to the previous behaviour
rth Aug 18, 2018
867819f
Merge branch 'master' into optimize_3d
rth Sep 20, 2018
92daa11
Merge branch 'master' into optimize_3d
rth Dec 17, 2018
a268fc7
Fix merge issue
rth Dec 17, 2018
946b9bc
Fix more merge conflicts
rth Dec 17, 2018
ff18f5f
Lint
rth Dec 18, 2018
76d5dc7
Fix one test failure
rth Dec 18, 2018
3e230c7
Address comments
rth Dec 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/matplotlib/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ def __init__(self, vertices, codes=None, _interpolation_steps=1,
vertices = _to_unmasked_float_array(vertices)
if vertices.ndim != 2 or vertices.shape[1] != 2:
raise ValueError(
"'vertices' must be a 2D list or array with shape Nx2")
"'vertices' must be an array-like of shape (N, 2) not {}"
.format(vertices.shape))

if codes is not None:
codes = np.asarray(codes, self.code_type)
Expand Down
Loading