
    e                        d Z ddlZddlZ ej
                           ej                  d      Zej                  d       ej                         Z
e
j                           ej                         Zej                  ej                  j!                  d             ej#                  d       e
j%                  e        ej&                  d	      Zej+                  e
       ej-                  d
d
d       edk(  r ej0                          yy)z
Demonstrates ScaleBar
    NT)showzpyqtgraph example: ScaleBar)d   r   )sizeg{Gz?g?)   r   )r   )offset__main__)__doc__numpynp	pyqtgraphpgmkQAppGraphicsLayoutWidgetwinsetWindowTitle
addViewBoxvbsetAspectLocked	ImageItemimgsetImagerandomnormalsetScaleaddItemScaleBarscalesetParentItemanchor__name__exec     =/usr/lib/python3/dist-packages/pyqtgraph/examples/ScaleBar.py<module>r&      s      			b4(   0 1^^    blln RYY9- . T  

3   B  VVJ /zBGGI r$   