MCPcopy
hub / github.com/matplotlib/matplotlib / sca

Method sca

lib/matplotlib/figure.py:1710–1714  ·  view source on GitHub ↗

Set the current Axes to be *a* and return *a*.

(self, a)

Source from the content-addressed store, hash-verified

1708 return sf
1709
1710 def sca(self, a):
1711 """Set the current Axes to be *a* and return *a*."""
1712 self._axstack.bubble(a)
1713 self._axobservers.process("_axes_change_event", self)
1714 return a
1715
1716 def gca(self):
1717 """

Callers 7

_add_axes_internalMethod · 0.95
colorbarMethod · 0.80
scaFunction · 0.80
subplotFunction · 0.80
test_pyplot_axesFunction · 0.80
test_gcaFunction · 0.80

Calls 2

bubbleMethod · 0.80
processMethod · 0.80

Tested by 3

test_pyplot_axesFunction · 0.64
test_gcaFunction · 0.64