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 ab7e966

Browse filesBrowse files
committed
Remove unused function from art3d.
1 parent 3e47c19 commit ab7e966
Copy full SHA for ab7e966

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+0
-7
lines changed

‎lib/mpl_toolkits/mplot3d/art3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/art3d.py
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -894,13 +894,6 @@ def rotate_axes(xs, ys, zs, zdir):
894894
return xs, ys, zs
895895

896896

897-
def _get_colors(c, num):
898-
"""Stretch the color argument to provide the required number *num*."""
899-
return np.broadcast_to(
900-
mcolors.to_rgba_array(c) if len(c) else [0, 0, 0, 0],
901-
(num, 4))
902-
903-
904897
def _zalpha(colors, zs):
905898
"""Modify the alphas of the color list according to depth."""
906899
# FIXME: This only works well if the points for *zs* are well-spaced

0 commit comments

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