
    ei              
          d Z ddlZddlZ ej
                  de      Zej                  j                  d      Z
e
d ej                  edz        z  z  Z
 ej                  d	      Zej                  d
       ej                  dd       ej                   j#                  d       ej%                         Zej)                  d       ej+                          ej-                         Z ej0                  e
      Zej5                  e       ej%                         Zej)                  d       ej+                          ej-                         Zej;                  ej<                          ej0                  e
      Zej5                  e       ej+                          ej%                         Z e j)                  d       e j+                          e j-                         Z!e!jE                  d        ej0                  e
      Z#e!j5                  e#       ej%                         Z$e$j)                  d       e$j+                          e$j-                         Z%e%jM                  dddddddd        ej0                  e
      Z'e%j5                  e'       ej+                          ej%                         Z(e(j)                  d       e(j+                          e(j-                         Z)e)jU                  e!        ej0                  e
      Z+e)j5                  e+       ej%                         Z,e,j)                  d       e,j+                          e,j-                         Z-e-j]                  dd       e-j_                  dd       e-ja                  dd       e-jc                  dd        ej0                  e
      Z2e-j5                  e2       e3d k(  r ejh                          yy)!z
ViewBox is the general-purpose graphical container that allows the user to 
zoom / pan to inspect any area of a 2D coordinate system. 

This example demonstrates many of the features ViewBox provides.
    Ni  )dtype)size   d   T)showzpyqtgraph example: ____i   )2   r   r   zK<b>Standard mouse interaction:</b><br>left-drag to pan, right-drag to zoom.zQ<b>One-button mouse interaction:</b><br>left-drag zoom to box, wheel to zoom out.z(<b>Locked aspect ratio when zooming.</b>g      ?z><b>View limits:</b><br>prevent panning or zooming past limits.iiL     i  i
      )xMinxMax	minXRange	maxXRangeyMinyMax	minYRange	maxYRangezO<b>Linked axes:</b> Data in this plot is always X-aligned to<br>the plot above.z<b>Disable mouse:</b> Per-axis control over mouse input.<br><b>Auto-scale-visible:</b> Automatically fit *visible* data within view<br>(try panning left-right).F)xyi,  i  __main__)5__doc__numpynp	pyqtgraphpgarangefloatr   randomnormalr   sinGraphicsLayoutWidgetwinsetWindowTitleresizeci	setBorder	addLayoutsub1addLabelnextRow
addViewBoxv1PlotDataIteml1addItemsub2v2setMouseModeRectModel2sub3v3setAspectLockedl3sub4v4	setLimitsl4sub5v5setXLinkl5sub6v6setMouseEnabledenableAutoRange	setXRangesetAutoVisiblel6__name__exec     D/usr/lib/python3/dist-packages/pyqtgraph/examples/ViewBoxFeatures.py<module>rM      s    BIId% II$ Q# b4(   , - 

4     
}} [ \ 	__R__Q 

2 }} a b 	__  R__Q 

2 
}} 8 9 	__   3 R__Q 

2
}} N O 	__ $TSBB  ( R__Q 

2 
}} _ ` 	__ BR__Q 

2
}}  * + 	__   TU  #   Ud  # S#    ET  "R__Q 

2zBGGI rK   