MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_3d_properties

Method set_3d_properties

lib/mpl_toolkits/mplot3d/art3d.py:694–714  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 1

__init__Method · 0.95

Calls 1

set_3d_propertiesMethod · 0.45

Tested by

no test coverage detected