def cla(self):
self.set_major_locator(mticker.AutoLocator())<EOL>self.set_major_formatter(mticker.ScalarFormatter())<EOL>self.set_minor_locator(mticker.NullLocator())<EOL>self.set_minor_formatter(mticker.NullFormatter())<EOL>self.callbacks = cbook.CallbackRegistry(('<STR_LIT>', '<STR_LIT>'))<EOL>self._gridOnMajor = rcParams['<STR_LIT>']<EOL>self._gridOnMinor = False<EOL>self.label.set_text('<STR_LIT>')<EOL>self._set_artist_props(self.label)<EOL>cbook.popall(self.majorTicks)<EOL>cbook.popall(self.minorTicks)<EOL>self.majorTicks.extend([self._get_tick(major=True)])<EOL>self.minorTicks.extend([self._get_tick(major=False)])<EOL>self._lastNumMajorTicks = <NUM_LIT:1><EOL>self._lastNumMinorTicks = <NUM_LIT:1><EOL>self.converter = None<EOL>self.units = None<EOL>self.set_units(None)<EOL>
clear the current axis