class_docstr: Main spectrum plot
docstr: Update baseline curve
docstr_tok: ["Update","baseline","curve"]
code: def update_baseline(self, data_storage, force=False):
      """Update baseline curve"""
      if (
          data_storage.baseline_x is None
          or data_storage.baseline is None
      ):
          self.curve_baseline.clear()
          return
  
      if self.baseline or force:
          self.curve_baseline.setData(
              data_storage.baseline_x, data_storage.baseline
          )
          if force:
              self.curve_baseline.setVisible(self.baseline)
  
imports: import collections, math
  from Qt import QtCore
  import pyqtgraph
label_desc: Use image node_id 17 for calling the SpectrumPlotWidget obj's underlying member method code with example usage: obj.update_baseline(data_storage, force) without return types