ae83f2cfc7507fff8751dd688be5e08ef0313164,lib/mpl_toolkits/mplot3d/art3d.py,,path_to_3d_segment_with_codes,#Any#Any#Any#,188
Before Change
def path_to_3d_segment_with_codes(path, zs=0, zdir="z"):
Convert a path to a 3D segment with path codes.
zs = np.broadcast_to(zs, len(path))
pathsegs = path.iter_segments(simplify=False, curves=False)
seg_codes = [((x, y, z), code) for ((x, y), code), z in zip(pathsegs, zs)]
if seg_codes:
seg, codes = zip(*seg_codes)
seg3d = [juggle_axes(x, y, z, zdir) for (x, y, z) in seg]
else:
After Change
@cbook.deprecated("3.1")
def path_to_3d_segment_with_codes(path, zs=0, zdir="z"):
Convert a path to a 3D segment with path codes.
return _path_to_3d_segment_with_codes(path, zs=zs, zdir=zdir)
def _paths_to_3d_segments_with_codes(paths, zs=0, zdir="z"):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances Project Name: matplotlib/matplotlib
Commit Name: ae83f2cfc7507fff8751dd688be5e08ef0313164
Time: 2018-12-20
Author: rth.yurchak@gmail.com
File Name: lib/mpl_toolkits/mplot3d/art3d.py
Class Name:
Method Name: path_to_3d_segment_with_codes
Project Name: matplotlib/matplotlib
Commit Name: ae83f2cfc7507fff8751dd688be5e08ef0313164
Time: 2018-12-20
Author: rth.yurchak@gmail.com
File Name: lib/mpl_toolkits/mplot3d/art3d.py
Class Name:
Method Name: path_to_3d_segment
Project Name: matplotlib/matplotlib
Commit Name: ae83f2cfc7507fff8751dd688be5e08ef0313164
Time: 2018-12-20
Author: rth.yurchak@gmail.com
File Name: lib/mpl_toolkits/mplot3d/art3d.py
Class Name:
Method Name: paths_to_3d_segments
Project Name: matplotlib/matplotlib
Commit Name: ae83f2cfc7507fff8751dd688be5e08ef0313164
Time: 2018-12-20
Author: rth.yurchak@gmail.com
File Name: lib/mpl_toolkits/mplot3d/art3d.py
Class Name:
Method Name: paths_to_3d_segments_with_codes