MCPcopy
hub / github.com/matplotlib/matplotlib / current

Method current

lib/matplotlib/figure.py:102–104  ·  view source on GitHub ↗

Return the active Axes, or None if the stack is empty.

(self)

Source from the content-addressed store, hash-verified

100 self._axes[a] = next(self._counter)
101
102 def current(self):
103 """Return the active Axes, or None if the stack is empty."""
104 return max(self._axes, key=self._axes.__getitem__, default=None)
105
106 def __getstate__(self):
107 return {

Callers 2

gcaMethod · 0.80
_gciMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected