Function to clear the interactive colorbar state.
(self)
| 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 | """ |