(self)
Delete all graticules previously created on the Axes.
Delete all graticules previously created on the Axes.
Delete all graticules previously created on the Axes .
def delgraticules(self):
        """Delete all graticules previously created on the Axes."""
        if hasattr(self, "_graticules"):
            for dum1, dum2, g in self._graticules:
                for gl in g:
                    for l in gl:
                        if l in self.lines:
                            self.lines.remove(l)
                        else:
                            log.warning("line not in lines")
            del self._graticules
def delgraticules ( self ) : if hasattr ( self , "_graticules" ) : for dum1 , dum2 , g in self . _graticules : for gl in g : for l in gl : if l in self . lines : self . lines . remove ( l ) else : log . warning ( "line not in lines" ) del self . _graticules