parameters: (self)
docstring: Remove drawn peaks from the view
docstring_summary: Remove drawn peaks from the view
docstring_tokens: Remove drawn peaks from the view
function: def clear_peak_representations(self):
          """
          Remove drawn peaks from the view
          """
          for peak in self._representations:
              if peak:
                  peak.remove()
          self._representations.clear()
function_tokens: def clear_peak_representations ( self ) : for peak in self . _representations : if peak : peak . remove ( ) self . _representations . clear ( )