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

Method active_pane

lib/mpl_toolkits/mplot3d/axis3d.py:405–416  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

403 return tickdir
404
405 def active_pane(self):
406 mins, maxs, tc, highs = self._get_coord_info()
407 info = self._axinfo
408 index = info['i']
409 if not highs[index]:
410 loc = mins[index]
411 plane = self._PLANES[2 * index]
412 else:
413 loc = maxs[index]
414 plane = self._PLANES[2 * index + 1]
415 xys = np.array([tc[p] for p in plane])
416 return xys, loc
417
418 def draw_pane(self, renderer):
419 """

Callers 2

draw_paneMethod · 0.95
_calc_coordMethod · 0.80

Calls 1

_get_coord_infoMethod · 0.95

Tested by

no test coverage detected