Skip to content

Commit b168bed

Browse files
committed
Remove irrelevant changes
1 parent 2a75026 commit b168bed

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

lib/mpl_toolkits/mplot3d/art3d.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ def path_to_3d_segment(path, zs=0, zdir='z'):
177177
seg3d = juggle_axes_vec(seg3d, zdir)
178178
return seg3d.T
179179

180+
180181
def paths_to_3d_segments(paths, zs=0, zdir='z'):
181182
"""Convert paths from a collection object to 3D segments."""
182183

@@ -190,7 +191,7 @@ def paths_to_3d_segments(paths, zs=0, zdir='z'):
190191

191192

192193
def path_to_3d_segment_with_codes(path, zs=0, zdir='z'):
193-
'''Convert a path to a 3D segment with path codes.'''
194+
"""Convert a path to a 3D segment with path codes."""
194195
# Pre allocate memory
195196
# XXX should we consider a 4d array?
196197
seg3d = np.ones((3, len(path)))
@@ -233,9 +234,9 @@ def set_sort_zpos(self, val):
233234
self.stale = True
234235

235236
def set_segments(self, segments):
236-
'''
237+
"""
237238
Set 3D segments
238-
'''
239+
"""
239240
self._seg_sizes = [len(c) for c in segments]
240241
self._segments3d = []
241242
if len(segments) > 0:
@@ -391,7 +392,7 @@ def __init__(self, *args, zs=0, zdir='z', depthshade=True, **kwargs):
391392
super().__init__(*args, **kwargs)
392393
self.set_3d_properties(zs, zdir)
393394

394-
def set_sort_zpos(self, val):
395+
def set_sort_zpos(self,val):
395396
"""Set the position to use for z-sorting."""
396397
self._sort_zpos = val
397398
self.stale = True
@@ -798,11 +799,6 @@ def rotate_axes_vec(xyz, zdir):
798799
return xyz
799800

800801

801-
@cbook.deprecated('2.0', alternative='matplotlib.colors.is_color_like')
802-
def iscolor(c):
803-
return mcolors.is_color_like(c)
804-
805-
806802
def get_colors(c, num):
807803
"""Stretch the color argument to provide the required number *num*."""
808804
return np.broadcast_to(

0 commit comments

Comments
 (0)