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