;iTdZddlZddlZddlZddlmZejdZ ej ddZ e dd e d ejd Zed dxxdz cc<e deZedde dZedeZejZdZejZejeed edkrej dSdS)zP This example demonstrates the different auto-ranging capabilities of ViewBoxes N)QtCorezPlot Auto Range ExampleTzPlot auto-range examples)showtitlei iXz pyqtgraph example: PlotAutoRanged)size26 z95th percentile range)ryr gffffff?z Auto Pan Only)r)r c tjtz }tjdtj|z}|ddxxtj|z cc<t |dS)Nrr<)timet0nponessincurvesetData)tdatas TC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/PlotAutoRange.pyupdatersf bA 73<<"&)) #DBKKK26!99KKK MM$__main__)!__doc__rnumpyr pyqtgraphpg pyqtgraph.QtrmkQAppappGraphicsLayoutWidgetwinresizesetWindowTitlerandomnormaldaddPlotp1enableAutoRangep2 setAutoPanplotrrrQTimertimertimeoutconnectstart__name__execrrr7s bi)**b4/IJJJ 3s5666I#"R%B[[.![443 [[[''    TY[[   f B z BGIIIIIr