class_docstr: Class representing a single plot curve. Instances of this class are created
  automatically as part of :class:`PlotDataItem <pyqtgraph.PlotDataItem>`; 
  these rarely need to be instantiated directly.
  
  Features:
  
    - Fast data update
    - Fill under curve
    - Mouse interaction
  
  =====================  ===============================================
  **Signals:**
  sigPlotChanged(self)   Emitted when the data being plotted has changed
  sigClicked(self, ev)   Emitted when the curve is clicked
  =====================  ===============================================
class_docstr_tok: ["Class","representing","a","single","plot","curve",".","Instances","of","this","class","are","created","automatically","as","part","of",":","class",":","`","PlotDataItem","<","pyqtgraph.PlotDataItem",">","`",";","these","rarely","need","to","be","instantiated","directly",".","Features",":","-","Fast","data","update","-","Fill","under","curve","-","Mouse","interaction","=====================","===============================================","*","*","Signals",":","*","*","sigPlotChanged","(","self",")","Emitted","when","the","data","being","plotted","has","changed","sigClicked","(","self",",","ev",")","Emitted","when","the","curve","is","clicked","=====================","==============================================="]
docstr: Forwards all arguments to :func:`setData <pyqtgraph.PlotCurveItem.setData>`.
  
  Some extra arguments are accepted as well:
  
  ==============  =======================================================
  **Arguments:**
  parent          The parent GraphicsObject (optional)
  clickable       If `True`, the item will emit ``sigClicked`` when it is
                  clicked on. Defaults to `False`.
  ==============  =======================================================
docstr_tok: ["Forwards","all","arguments","to",":","func",":","`","setData","<","pyqtgraph.PlotCurveItem.setData",">","`",".","Some","extra","arguments","are","accepted","as","well",":","==============","=======================================================","*","*","Arguments",":","*","*","parent","The","parent","GraphicsObject","(","optional",")","clickable","If","`","True","`",",","the","item","will","emit","``","sigClicked","``","when","it","is","clicked","on",".","Defaults","to","`","False","`",".","==============","======================================================="]
code: def __init__(self, *args, **kargs):
      """
      Forwards all arguments to :func:`setData <pyqtgraph.PlotCurveItem.setData>`.
  
      Some extra arguments are accepted as well:
  
      ==============  =======================================================
      **Arguments:**
      parent          The parent GraphicsObject (optional)
      clickable       If `True`, the item will emit ``sigClicked`` when it is
                      clicked on. Defaults to `False`.
      ==============  =======================================================
      """
      GraphicsObject.__init__(self, kargs.get("parent", None))
      self.clear()
  
      ## this is disastrous for performance.
      # self.setCacheMode(QtWidgets.QGraphicsItem.CacheMode.DeviceCoordinateCache)
  
      self.metaData = {}
      self.opts = {
          "shadowPen": None,
          "fillLevel": None,
          "fillOutline": False,
          "brush": None,
          "stepMode": None,
          "name": None,
          "antialias": getConfigOption("antialias"),
          "connect": "all",
          "mouseWidth": 8,  # width of shape responding to mouse click
          "compositionMode": None,
          "skipFiniteCheck": False,
          "segmentedLineMode": getConfigOption("segmentedLineMode"),
      }
      if "pen" not in kargs:
          self.opts["pen"] = fn.mkPen("w")
      self.setClickable(kargs.get("clickable", False))
      self.setData(*args, **kargs)
  
imports: from ..Qt import QtCore, QtGui, QtWidgets
  import math
  import sys
  import warnings
  import numpy
  from ..None import Qt, debug
  from ..None import functions
  from ..None import getConfigOption
  from .GraphicsObject import GraphicsObject
label_desc: Use image node_id 1 to create a new PlotCurveItem object from inherited base classes: GraphicsObject with example: obj = PlotCurveItem()