Set the *z* position and direction of the path patch. Parameters ---------- path : zs : float The location along the *zdir* axis in 3D space to position the path patch. zdir : {'x', 'y', 'z', 3-tuple} Plane to plot
(self, path, zs=0, zdir='z', axlim_clip=False)
| 692 | self.set_3d_properties(path, zs, zdir, axlim_clip) |
| 693 | |
| 694 | def set_3d_properties(self, path, zs=0, zdir='z', axlim_clip=False): |
| 695 | """ |
| 696 | Set the *z* position and direction of the path patch. |
| 697 | |
| 698 | Parameters |
| 699 | ---------- |
| 700 | path : |
| 701 | zs : float |
| 702 | The location along the *zdir* axis in 3D space to position the |
| 703 | path patch. |
| 704 | zdir : {'x', 'y', 'z', 3-tuple} |
| 705 | Plane to plot path patch orthogonal to. Default: 'z'. |
| 706 | See `.get_dir_vector` for a description of the values. |
| 707 | axlim_clip : bool, default: False |
| 708 | Whether to hide path patches with a point outside the axes view limits. |
| 709 | |
| 710 | .. versionadded:: 3.10 |
| 711 | """ |
| 712 | Patch3D.set_3d_properties(self, path.vertices, zs=zs, zdir=zdir, |
| 713 | axlim_clip=axlim_clip) |
| 714 | self._code3d = path.codes |
| 715 | |
| 716 | def do_3d_projection(self): |
| 717 | s = self._segment3d |
no test coverage detected