class_docstr: QSpectrumAnalyzer main window
class_docstr_tok: ["QSpectrumAnalyzer","main","window"]
code: def on_peakHoldMinCheckBox_toggled(self, checked):
      self.spectrumPlotWidget.peak_hold_min = checked
      if self.spectrumPlotWidget.curve_peak_hold_min.xData is None:
          self.spectrumPlotWidget.update_peak_hold_min(
              self.data_storage
          )
      self.spectrumPlotWidget.curve_peak_hold_min.setVisible(checked)
  
imports: import sys, os, signal, time, argparse
  from Qt import QtCore, QtGui, QtWidgets
  from qspectrumanalyzer import backends
  from qspectrumanalyzer.version import __version__
  from qspectrumanalyzer.data import DataStorage
  from qspectrumanalyzer.plot import SpectrumPlotWidget, WaterfallPlotWidget
  from qspectrumanalyzer.utils import str_to_color, human_time
  from qspectrumanalyzer.settings import QSpectrumAnalyzerSettings
  from qspectrumanalyzer.smoothing import QSpectrumAnalyzerSmoothing
  from qspectrumanalyzer.persistence import QSpectrumAnalyzerPersistence
  from qspectrumanalyzer.colors import QSpectrumAnalyzerColors
  from qspectrumanalyzer.baseline import QSpectrumAnalyzerBaseline
  from qspectrumanalyzer.ui_qspectrumanalyzer import Ui_QSpectrumAnalyzerMainWindow
label_desc: Use image node_id 21 for calling the QSpectrumAnalyzerMainWindow obj's underlying member method code with example usage: obj.on_peakHoldMinCheckBox_toggled(checked) without return types