ScaleBar

class pyqtgraph.ScaleBar(size, width=5, brush=None, pen=None, suffix='m', offset=None)[source]

Displays a rectangular bar to indicate the relative scale of objects on the view.

__init__(size, width=5, brush=None, pen=None, suffix='m', offset=None)[source]