# Curves classes

class `pymeasure.display.curves.``BufferCurve`(*args: Any, **kwargs: Any)

  Bases: `pyqtgraph.`

  Creates a curve based on a predefined buffer size and allows data to be added dynamically, in additon to supporting error bars

  `append`(x, y, xError=None, yError=None)

    Appends data to the curve with optional errors

  `prepare`(size, dtype=<class 'numpy.float32'>)

    Prepares the buffer based on its size, data type

class `pymeasure.display.curves.``Crosshairs`(*args: Any, **kwargs: Any)

  Bases: `pyqtgraph.Qt.QtCore.`

  Attaches crosshairs to the a plot and provides a signal with the x and y graph coordinates

  `coordinates`

    alias of `float`

  `mouseMoved`(event=None)

    Updates the mouse position upon mouse movement

  `update`()

    Updates the mouse position based on the data in the plot. For dynamic plots, this is called each time the data changes to ensure the x and y values correspond to those on the display.

class `pymeasure.display.curves.``ResultsCurve`(*args: Any, **kwargs: Any)

  Bases: `pyqtgraph.`

  Creates a curve loaded dynamically from a file through the Results object and supports error bars. The data can be forced to fully reload on each update, useful for cases when the data is changing across the full file instead of just appending.

  `update`()

    Updates the data by polling the results

class `pymeasure.display.curves.``ResultsImage`(*args: Any, **kwargs: Any)

  Bases: `pyqtgraph.`

  Creates an image loaded dynamically from a file through the Results object.

  `find_img_index`(x, y)

    Finds the integer image indices corresponding to the closest x and y points of the data given some x and y data.

  `round_up`(x)

    Convenience function since numpy rounds to even