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

Method clear

lib/mpl_toolkits/axes_grid1/parasite_axes.py:19–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 parent_axes._position, **kwargs)
18
19 def clear(self):
20 super().clear()
21 martist.setp(self.get_children(), visible=False)
22 self._get_lines = self._parent_axes._get_lines
23 self._parent_axes.callbacks._connect_picklable(
24 "xlim_changed", self._sync_lims)
25 self._parent_axes.callbacks._connect_picklable(
26 "ylim_changed", self._sync_lims)
27
28 def get_axes_locator(self):
29 return self._parent_axes.get_axes_locator()

Callers

nothing calls this directly

Calls 3

_connect_picklableMethod · 0.80
clearMethod · 0.45
get_childrenMethod · 0.45

Tested by

no test coverage detected