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

Method set_zsort

lib/mpl_toolkits/mplot3d/art3d.py:1320–1332  ·  view source on GitHub ↗

Set the calculation method for the z-order. Parameters ---------- zsort : {'average', 'min', 'max'} The function applied on the z-coordinates of the vertices in the viewer's coordinate system, to determine the z-order.

(self, zsort)

Source from the content-addressed store, hash-verified

1318 }
1319
1320 def set_zsort(self, zsort):
1321 """
1322 Set the calculation method for the z-order.
1323
1324 Parameters
1325 ----------
1326 zsort : {'average', 'min', 'max'}
1327 The function applied on the z-coordinates of the vertices in the
1328 viewer's coordinate system, to determine the z-order.
1329 """
1330 self._zsortfunc = self._zsort_functions[zsort]
1331 self._sort_zpos = None
1332 self.stale = True
1333
1334 @_api.deprecated("3.10")
1335 def get_vector(self, segments3d):

Callers 2

__init__Method · 0.95
set_3d_propertiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected