Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ff18f5f

Browse filesBrowse files
committed
Lint
1 parent 946b9bc commit ff18f5f
Copy full SHA for ff18f5f

File tree

Expand file treeCollapse file tree

2 files changed

+0
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+0
-4
lines changed

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,6 @@ def get_vector(self, segments3d):
616616
self._vec[:3, :] = np.vstack(segments3d).T
617617
self._vec[3, :] = 1
618618

619-
620619
def set_verts(self, verts, closed=True):
621620
"""Set 3D vertices."""
622621
self.get_vector(verts)

‎lib/mpl_toolkits/mplot3d/proj3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/proj3d.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ def ortho_transformation(zfront, zback):
128128
[0, 0, a, b]])
129129

130130

131-
132131
def proj_transform_vec(vec, M):
133132
if len(vec) != 4:
134133
raise ValueError('expected len(vec) of 4, received {}'
@@ -139,7 +138,6 @@ def proj_transform_vec(vec, M):
139138
return vecw[:3]
140139

141140

142-
143141
def proj_transform_vec_clip(vec, M):
144142
vecw = np.dot(M, vec)
145143
# Determine clipping before rescaling
@@ -152,7 +150,6 @@ def proj_transform_vec_clip(vec, M):
152150
return vecw
153151

154152

155-
156153
def inv_transform(xs, ys, zs, M):
157154
iM = linalg.inv(M)
158155
vec = vec_pad_ones(xs, ys, zs)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.