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

Method _cbar_cla

lib/matplotlib/colorbar.py:497–503  ·  view source on GitHub ↗

Function to clear the interactive colorbar state.

(self)

Source from the content-addressed store, hash-verified

495 self._minorformatter = fmt
496
497 def _cbar_cla(self):
498 """Function to clear the interactive colorbar state."""
499 for x in self._interactive_funcs:
500 delattr(self.ax, x)
501 # We now restore the old cla() back and can call it directly
502 del self.ax.cla
503 self.ax.cla()
504
505 def update_normal(self, mappable=None):
506 """

Callers

nothing calls this directly

Calls 1

claMethod · 0.45

Tested by

no test coverage detected