class_docstr: :orphan:
  .. warning:: This class is intended for internal use. The interface may change without warning.
  
  Holds collected information for a plotable dataset. 
  Numpy arrays containing x and y coordinates are available as ``dataset.x`` and ``dataset.y``.
  
  After a search has been performed, typically during a call to :func:`dataRect() <pyqtgraph.PlotDataset.dataRect>`, 
  ``dataset.containsNonfinite`` is `True` if any coordinate values are nonfinite (e.g. NaN or inf) or `False` if all 
  values are finite. If no search has been performed yet, ``dataset.containsNonfinite`` is `None`.
  
  For internal use in :class:`PlotDataItem <pyqtgraph.PlotDataItem>`, this class should not be instantiated when no data is available. 
class_docstr_tok: [":","orphan",":","..","warning",":",":","This","class","is","intended","for","internal","use",".","The","interface","may","change","without","warning",".","Holds","collected","information","for","a","plotable","dataset",".","Numpy","arrays","containing","x","and","y","coordinates","are","available","as","``","dataset.x","``","and","``","dataset.y","``",".","After","a","search","has","been","performed",",","typically","during","a","call","to",":","func",":","`","dataRect","(",")","<","pyqtgraph.PlotDataset.dataRect",">","`",",","``","dataset.containsNonfinite","``","is","`","True","`","if","any","coordinate","values","are","nonfinite","(","e.g",".","NaN","or","inf",")","or","`","False","`","if","all","values","are","finite",".","If","no","search","has","been","performed","yet",",","``","dataset.containsNonfinite","``","is","`","None","`",".","For","internal","use","in",":","class",":","`","PlotDataItem","<","pyqtgraph.PlotDataItem",">","`",",","this","class","should","not","be","instantiated","when","no","data","is","available","."]
docstr: Parameters
  ----------
  x: array
      x coordinates of data points. 
  y: array
      y coordinates of data points. 
docstr_tok: ["Parameters","--","--","--","--","--","x",":","array","x","coordinates","of","data","points",".","y",":","array","y","coordinates","of","data","points","."]
code: def __init__(self, x, y, xAllFinite=None, yAllFinite=None):
      """
      Parameters
      ----------
      x: array
          x coordinates of data points.
      y: array
          y coordinates of data points.
      """
      super().__init__()
      self.x = x
      self.y = y
      self.xAllFinite = xAllFinite
      self.yAllFinite = yAllFinite
      self._dataRect = None
  
      if isinstance(x, np.ndarray) and x.dtype.kind in "iu":
          self.xAllFinite = True
      if isinstance(y, np.ndarray) and y.dtype.kind in "iu":
          self.yAllFinite = True
  
imports: import math
  import warnings
  import bisect
  import numpy
  from ..None import debug
  from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtCore
  from .GraphicsObject import GraphicsObject
  from .PlotCurveItem import PlotCurveItem
  from .ScatterPlotItem import ScatterPlotItem
label_desc: Use image node_id 1 to create a new PlotDataset object from inherited base classes: object with example: obj = PlotDataset(x, y, xAllFinite, yAllFinite)