code: def _clearContents(self):
          
          self.titleLabel.setText('')
          self.plotItem.clear()
          self.plotItem.setLabel('left', '')
          self.plotItem.setLabel('bottom', '')
docs: Clears the  the inspector widget when no valid input is available.