ScaleBar — pyqtgraph 0.9.8 documentation

### Navigation

- index
- modules |
- next |
- previous |
- pyqtgraph 0.9.8 documentation »
- API Reference »
- Pyqtgraph’s Graphics Items »

# ScaleBar

class `pyqtgraph.` `ScaleBar`(size, width=5, brush=None, pen=None, suffix='m')

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

  `__init__`(size, width=5, brush=None, pen=None, suffix='m')

### Navigation

- index
- modules |
- next |
- previous |
- pyqtgraph 0.9.8 documentation »
- API Reference »
- Pyqtgraph’s Graphics Items »