class_docstr: A dlm module containing all plot methods
      
docstr: "set" Operation for the dlm plotting colors
  
  Args:
      switch: key word. Controls over
              filtered/smoothed/predicted results,
      color: the color for the corresponding keyword.
docstr_tok: ["``","set","''","Operation","for","the","dlm","plotting","colors","Args",":","switch",":","key","word",".","Controls","over","filtered\/smoothed\/predicted","results",",","color",":","the","color","for","the","corresponding","keyword","."]
code: def setColor(self, switch, color):
      """ "set" Operation for the dlm plotting colors
  
      Args:
          switch: key word. Controls over
                  filtered/smoothed/predicted results,
          color: the color for the corresponding keyword.
      """
      if switch in set(
          ["filtered plot", "filter", "filtered results", "filtering"]
      ):
          self.options.filteredColor = color
      elif switch in set(
          ["smoothed plot", "smooth", "smoothed results", "smoothing"]
      ):
          self.options.smoothedColor = color
      elif switch in set(
          ["predict plot", "predict", "predicted results", "prediction"]
      ):
          self.options.predictedColor = color
      elif switch in set(
          ["data points", "data point", "points", "data"]
      ):
          self.options.dataColor = color
      else:
          raise NameError("no such options")
  
file_path: pydlm/pydlm/plot/dlmPlotMod.py
imports: from pydlm.core._dlm import _dlm
label_desc: Use image node_id 4 for calling the dlmPlotModule obj's underlying member method code with example usage: obj.setColor(switch, color) without return types