def __clear_plots(self): Legend.clear(self) for child in self._axes.get_children(): gid = child.get_gid() if gid is not None and gid == 'plot': child.remove()
def __clear_plots(self): Legend.clear(self) for child in self._axes.get_children(): gid = child.get_gid() if gid is not None and gid == 'line': child.remove()