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

Method set_3d_properties

lib/mpl_toolkits/mplot3d/art3d.py:1396–1405  ·  view source on GitHub ↗
(self, axlim_clip=False)

Source from the content-addressed store, hash-verified

1394 self._codes3d = codes
1395
1396 def set_3d_properties(self, axlim_clip=False):
1397 # Force the collection to initialize the face and edgecolors
1398 # just in case it is a scalarmappable with a colormap.
1399 self.update_scalarmappable()
1400 self._sort_zpos = None
1401 self.set_zsort('average')
1402 self._facecolor3d = PolyCollection.get_facecolor(self)
1403 self._edgecolor3d = PolyCollection.get_edgecolor(self)
1404 self._alpha3d = PolyCollection.get_alpha(self)
1405 self.stale = True
1406
1407 def set_sort_zpos(self, val):
1408 """Set the position to use for z-sorting."""

Callers

nothing calls this directly

Calls 5

set_zsortMethod · 0.95
update_scalarmappableMethod · 0.80
get_facecolorMethod · 0.45
get_edgecolorMethod · 0.45
get_alphaMethod · 0.45

Tested by

no test coverage detected