geemap/geemap.py
def remove_legend(self):
        """Remove legend from the map."""
        if self.legend is not None:
            if self.legend in self.controls:
                self.remove_control(self.legend)
Remove legend from the map.
Remove legend from the map.
Remove legend from the map .
def remove_legend(self):
        if self.legend is not None:
            if self.legend in self.controls:
                self.remove_control(self.legend)
def remove_legend ( self ) : if self . legend is not None : if self . legend in self . controls : self . remove_control ( self . legend )
Remove legend from the map.
Remove legend from the map .
"""Remove legend from the map."""
self