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

Skip to content

Commit b111f1b

Browse files
committed
Remove unused function from art3d.
1 parent 69ce392 commit b111f1b

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
@@ -797,13 +797,6 @@ def rotate_axes(xs, ys, zs, zdir):
797797
return xs, ys, zs
798798

799799

800-
def _get_colors(c, num):
801-
"""Stretch the color argument to provide the required number *num*."""
802-
return np.broadcast_to(
803-
mcolors.to_rgba_array(c) if len(c) else [0, 0, 0, 0],
804-
(num, 4))
805-
806-
807800
def _zalpha(colors, zs):
808801
"""Modify the alphas of the color list according to depth."""
809802
# FIXME: This only works well if the points for *zs* are well-spaced

0 commit comments

Comments
 (0)