;i`ddlmZddlmZddlmZddlmZegddedd fd ed d fd ed d fdddddddedd fddedd fdddddddd d!d"d#d$d%egd&fd'egd(fd)egd*fd+egd,fd-egd.fd/egd0fd1d2Ze gd3Z e gd4Z e d5gZ Gd6d7ej Zd8S)9) Namespace) OrderedDict) perf_counter)QtCore)zCommand-line usagez CLIexample.pyzBasic Plottingz Plotting.pyT)filename recommended ImageViewz ImageView.py ParameterTreezparametertree.py)zPlotting DatasetszMultiDataPlot.py)zParameter-Function InteractionzInteractiveParameter.py)zCrosshair / Mouse interactionz crosshair.py)z Data SlicingzDataSlicing.py)zPlot Customizationz customPlot.py)zTimestamps on x axiszDateAxisItem.pyzImage AnalysiszimageAnalysis.py)zMatrix DisplayzMatrixDisplayExample.pyzViewBox FeaturesViewBoxFeatures.py)z Dock widgetsz dockarea.py)ConsoleConsoleWidget.py)zConsole - Exception inspectionzconsole_exception_inspection.py)zRich Jupyter Consolezjupyter_console_example.py) Histogramsz histogram.py)z Beeswarm plotz beeswarm.py)Symbolsz Symbols.py)z Auto-rangezPlotAutoRange.py)zRemote PlottingzRemoteSpeedTest.py)zScrolling plotszscrollingPlots.py)z HDF5 big datazhdf5.py)Glowzglow.pyDemos))Opticszoptics_demos.py)zSpecial relativityzrelativity_demo.py)z Verlet chainzverlet_chain_demo.py)z Koch Fractalz fractal.pyColors))z Color Mapsz colorMaps.py)zColor Map LinearizationzcolorMapsLinearized.py)zColor Gradient PlotszColorGradientPlots.py GraphicsItems)) Scatter PlotzScatterPlot.py) InfiniteLinezInfiniteLine.py) IsocurveItemz isocurve.py) GraphItemz GraphItem.py) ErrorBarItemzErrorBarItem.py)FillBetweenItemzFillBetweenItem.py)zImageItem - videoz ImageItem.py)zImageItem - drawzDraw.py) ColorBarItemzColorBarItem.py)zNon-uniform ImagezNonUniformImage.py)zRegion-of-InterestzROIExamples.py)z Bar GraphzBarGraphItem.py)GraphicsLayoutzGraphicsLayout.py) LegendItemz Legend.py)z Text Itemztext.py)z Linked ViewszlinkedViews.py)ArrowzArrow.py)ViewBoxr )zAxisItem - label overlapzAxisItem_label_overlap.py)zCustom GraphicszcustomGraphicsItem.py)z Labeled GraphzCustomGraphItem.py)PColorMeshItemzPColorMeshItem.py Benchmarks))zVideo speed testzVideoSpeedTest.py)zLine Plot updatezPlotSpeedTest.py)zScatter Plot updatezScatterPlotSpeedTest.py)zMultiple plotszMultiPlotSpeedTest.pyz 3D Graphics) ) VolumetriczGLVolumeItem.py) IsosurfacezGLIsosurface.py)z Surface PlotzGLSurfacePlot.py)rzGLScatterPlotItem.py)Shadersz GLshaders.py)z Line PlotzGLLinePlotItem.py)Meshz GLMeshItem.py)ImagezGLImageItem.py)Textz GLTextItem.py)BarGraphzGLBarGraphItem.py)PainterzGLPainterItem.py)zGradient LegendzGLGradientLegendItem.pyWidgets) ) PlotWidgetz PlotWidget.py)SpinBoxz SpinBox.py) ConsoleWidgetr )zHistogram / lookup tablezHistogramLUT.py) TreeWidgetz TreeWidget.py)ScatterPlotWidgetzScatterPlotWidget.py)DataTreeWidgetzDataTreeWidget.py)GradientWidgetzGradientWidget.py) TableWidgetzTableWidget.py) ColorButtonzColorButton.py)JoystickButtonzJoystickButton.py) Flowchartsz Flowchart.py)zCustom Flowchart NodeszFlowchartCustomNode.py))logAxisz logAxis.py) PanningPlotzPanningPlot.py)MultiplePlotAxeszMultiplePlotAxes.py)ROItypesz ROItypes.py)ScaleBarz ScaleBar.py)rz ViewBox.py)GradientEditorzGradientEditor.py) GLViewWidgetzGLViewWidget.py)DiffTreeWidgetzDiffTreeWidget.py)RemoteGraphicsViewzRemoteGraphicsView.py) contextMenuzcontextMenu.py)designerExamplezdesignerExample.py)DateAxisItem_QtDesignerzDateAxisItem_QtDesigner.py) GraphicsScenezGraphicsScene.py)MouseSelectionzMouseSelection.py)) SimplePlotz SimplePlot.py) LogPlotTestzLogPlotTest.py) ViewLimitsz ViewLimits.py)ProgressDialogzProgressDialog.pycLeZdZejeZdfd ZdZdZ xZ S) FrameCountercrtd|_d|_||_dSNr)super__init__count last_updateinterval)selfrQ __class__s LC:\PYTHON\MyICR_Workspace\venv\Lib\site-packages\pyqtgraph/examples/utils.pyrNzFrameCounter.__init__s3    c|xjdz c_|jdkr/t|_||jdSdS)Nr)rOrPr startTimerrQ)rRs rTupdatezFrameCounter.updatesM a  q +~~D  OODM * * * * * ! rUct}||jz }|j|z }||_d|_|j|dSrL)rrPrO sigFpsUpdateemit)rRevtnowelapsedfpss rT timerEventzFrameCounter.timerEventsPnn((j7"  s#####rU)rJ) __name__ __module__ __qualname__rSignalobjectr[rNrYra __classcell__)rSs@rTrIrIsl 6=((L!!!!!! +++$$$$$$$rUrIN)argparser collectionsrtimer pyqtgraph.Qtr examples_dictotherstrivialskiptestQObjectrIrUrTrss###### Kc+cyy-TJJJKc))^FFFGcii);NNNO c . c B c6c'c,c0cyy*<$OOOPc2c,@dSSSTc$c$c J!c";#c$#%c&%'c()c*'+c,.-c.-/c0!1c23c4 kk5c@{{AcJkk###Kc|;;   }cHKK ! ! !   Icd ecB#CcD9Ecc c  P   ( $   4+   $$$$$6>$$$$$rU