Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab7e966

Browse files
committed
Remove unused function from art3d.
1 parent 3e47c19 commit ab7e966

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines 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)