Convert a `.LineCollection` to a `.Line3DCollection` object.
(col, zs=0, zdir='z', axlim_clip=False)
| 588 | |
| 589 | |
| 590 | def line_collection_2d_to_3d(col, zs=0, zdir='z', axlim_clip=False): |
| 591 | """Convert a `.LineCollection` to a `.Line3DCollection` object.""" |
| 592 | segments3d = _paths_to_3d_segments(col.get_paths(), zs, zdir) |
| 593 | col.__class__ = Line3DCollection |
| 594 | col.set_segments(segments3d) |
| 595 | col._axlim_clip = axlim_clip |
| 596 | |
| 597 | |
| 598 | class Patch3D(Patch): |
nothing calls this directly
no test coverage detected
searching dependent graphs…