We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
PlotSpeedTest command line arguments ignored
### Short description
<!-- This should summarize the issue. -->

Since 108365ba45c1a1302df110dad5f9d960d4d903a9, PlotSpeedTest command arguments are no longer honored.

### Code to reproduce
<!-- Please provide a minimal working example that reproduces the issue in the code block below.
     Ideally, this should be a full example someone else could run without additional setup. -->

```
PlotSpeedTest.py --nsamples=10000
```

### Expected behavior
<!-- What should happen? -->

The number of samples used should be 10000.

### Real behavior
<!-- What happens? -->

The number of samples used remains at the default of 5000.

### Tested environment(s)

 * PyQtGraph version: master
 * Qt Python binding: PyQt5 5.15.7, PySide6 6.3.2
 * Python version: Python 3.8.10 
 * Operating system: Windows 10
 * Installation method: pip install -e . <!-- e.g. pip, conda, system packages, ... -->



--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `pyqtgraph/examples/PlotSpeedTest.py`
Content:
```
1 #!/usr/bin/python
2 """
3 Update a simple plot as rapidly as possible to measure speed.
4 """
5 
6 import argparse
7 from collections import deque
8 from time import perf_counter
9 
10 import numpy as np
11 
12 import pyqtgraph as pg
13 import pyqtgraph.functions as fn
14 import pyqtgraph.parametertree as ptree
15 from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
16 
17 # defaults here result in the same configuration as the original PlotSpeedTest
18 parser = argparse.ArgumentParser()
19 parser.add_argument('--noise', dest='noise', action='store_true')
20 parser.add_argument('--no-noise', dest='noise', action='store_false')
21 parser.set_defaults(noise=True)
22 parser.add_argument('--nsamples', default=5000, type=int)
23 parser.add_argument('--frames', default=50, type=int)
24 parser.add_argument('--fsample', default=1000, type=float)
25 parser.add_argument('--frequency', default=0, type=float)
26 parser.add_argument('--amplitude', default=5, type=float)
27 parser.add_argument('--opengl', dest='use_opengl', action='store_true')
28 parser.add_argument('--no-opengl', dest='use_opengl', action='store_false')
29 parser.set_defaults(use_opengl=None)
30 parser.add_argument('--allow-opengl-toggle', action='store_true',
31     help="""Allow on-the-fly change of OpenGL setting. This may cause unwanted side effects.
32     """)
33 args = parser.parse_args()
34 
35 if args.use_opengl is not None:
36     pg.setConfigOption('useOpenGL', args.use_opengl)
37     pg.setConfigOption('enableExperimental', args.use_opengl)
38 
39 # don't limit frame rate to vsync
40 sfmt = QtGui.QSurfaceFormat()
41 sfmt.setSwapInterval(0)
42 QtGui.QSurfaceFormat.setDefaultFormat(sfmt)
43 
44 
45 class MonkeyCurveItem(pg.PlotCurveItem):
46     def __init__(self, *args, **kwds):
47         super().__init__(*args, **kwds)
48         self.monkey_mode = ''
49 
50     def setMethod(self, value):
51         self.monkey_mode = value
52 
53     def paint(self, painter, opt, widget):
54         if self.monkey_mode not in ['drawPolyline']:
55             return super().paint(painter, opt, widget)
56 
57         painter.setRenderHint(painter.RenderHint.Antialiasing, self.opts['antialias'])
58         painter.setPen(pg.mkPen(self.opts['pen']))
59 
60         if self.monkey_mode == 'drawPolyline':
61             painter.drawPolyline(fn.arrayToQPolygonF(self.xData, self.yData))
62 
63 app = pg.mkQApp("Plot Speed Test")
64 
65 default_pen = pg.mkPen()
66 
67 params = ptree.Parameter.create(name='Parameters', type='group')
68 pt = ptree.ParameterTree(showHeader=False)
69 pt.setParameters(params)
70 pw = pg.PlotWidget()
71 splitter = QtWidgets.QSplitter()
72 splitter.addWidget(pt)
73 splitter.addWidget(pw)
74 splitter.show()
75 
76 interactor = ptree.Interactor(
77     parent=params, nest=False, runOptions=ptree.RunOptions.ON_CHANGED
78 )
79 
80 pw.setWindowTitle('pyqtgraph example: PlotSpeedTest')
81 pw.setLabel('bottom', 'Index', units='B')
82 curve = MonkeyCurveItem(pen=default_pen, brush='b')
83 pw.addItem(curve)
84 
85 rollingAverageSize = 1000
86 elapsed = deque(maxlen=rollingAverageSize)
87 
88 def resetTimings(*args):
89     elapsed.clear()
90 
91 @interactor.decorate(
92     nest=True,
93     nsamples={'limits': [0, None]},
94     frames={'limits': [1, None]},
95     fsample={'units': 'Hz'},
96     frequency={'units': 'Hz'}
97 )
98 def makeData(noise=True, nsamples=5000, frames=50, fsample=1000.0, frequency=0.0, amplitude=5.0):
99     global data, connect_array, ptr
100     ttt = np.arange(frames * nsamples, dtype=np.float64) / fsample
101     data = amplitude*np.sin(2*np.pi*frequency*ttt).reshape((frames, nsamples))
102     if noise:
103         data += np.random.normal(size=data.shape)
104     connect_array = np.ones(data.shape[-1], dtype=bool)
105     ptr = 0
106     pw.setRange(QtCore.QRectF(0, -10, nsamples, 20))
107 
108 params.child('makeData').setOpts(title='Plot Options')
109 
110 @interactor.decorate(
111     connect={'type': 'list', 'limits': ['all', 'pairs', 'finite', 'array']}
112 )
113 def update(
114     antialias=pg.getConfigOption('antialias'),
115     connect='all',
116     skipFiniteCheck=False
117 ):
118     global curve, data, ptr, elapsed, fpsLastUpdate
119 
120     if connect == 'array':
121         connect = connect_array
122 
123     # Measure
124     t_start = perf_counter()
125     curve.setData(data[ptr], antialias=antialias, connect=connect, skipFiniteCheck=skipFiniteCheck)
126     app.processEvents(QtCore.QEventLoop.ProcessEventsFlag.AllEvents)
127     t_end = perf_counter()
128     elapsed.append(t_end - t_start)
129     ptr = (ptr + 1) % data.shape[0]
130 
131     # update fps at most once every 0.2 secs
132     if t_end - fpsLastUpdate > 0.2:
133         fpsLastUpdate = t_end
134         average = np.mean(elapsed)
135         fps = 1 / average
136         pw.setTitle('%0.2f fps - %0.1f ms avg' % (fps, average * 1_000))
137 
138 @interactor.decorate(
139     useOpenGL={'readonly': not args.allow_opengl_toggle},
140     plotMethod={'limits': ['pyqtgraph', 'drawPolyline'], 'type': 'list'},
141     curvePen={'type': 'pen'}
142 )
143 def updateOptions(
144     curvePen=pg.mkPen(),
145     plotMethod='pyqtgraph',
146     fillLevel=False,
147     enableExperimental=False,
148     useOpenGL=False,
149 ):
150     pg.setConfigOption('enableExperimental', enableExperimental)
151     pg.setConfigOption('useOpenGL', useOpenGL)
152     curve.setPen(curvePen)
153     curve.setFillLevel(0.0 if fillLevel else None)
154     curve.setMethod(plotMethod)
155 
156 params.sigTreeStateChanged.connect(resetTimings)
157 
158 makeData()
159 
160 fpsLastUpdate = perf_counter()
161 
162 timer = QtCore.QTimer()
163 timer.timeout.connect(update)
164 timer.start(0)
165 
166 if __name__ == '__main__':
167     # Splitter by default gives too small of a width to the parameter tree,
168     # so fix that right before the event loop
169     pt.setMinimumSize(225,0)
170     pg.exec()
171
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/pyqtgraph/examples/PlotSpeedTest.py b/pyqtgraph/examples/PlotSpeedTest.py
--- a/pyqtgraph/examples/PlotSpeedTest.py
+++ b/pyqtgraph/examples/PlotSpeedTest.py
@@ -95,7 +95,14 @@
     fsample={'units': 'Hz'},
     frequency={'units': 'Hz'}
 )
-def makeData(noise=True, nsamples=5000, frames=50, fsample=1000.0, frequency=0.0, amplitude=5.0):
+def makeData(
+    noise=args.noise,
+    nsamples=args.nsamples,
+    frames=args.frames,
+    fsample=args.fsample,
+    frequency=args.frequency,
+    amplitude=args.amplitude,
+):
     global data, connect_array, ptr
     ttt = np.arange(frames * nsamples, dtype=np.float64) / fsample
     data = amplitude*np.sin(2*np.pi*frequency*ttt).reshape((frames, nsamples))

{"golden_diff": "diff --git a/pyqtgraph/examples/PlotSpeedTest.py b/pyqtgraph/examples/PlotSpeedTest.py\n--- a/pyqtgraph/examples/PlotSpeedTest.py\n+++ b/pyqtgraph/examples/PlotSpeedTest.py\n@@ -95,7 +95,14 @@\n     fsample={'units': 'Hz'},\n     frequency={'units': 'Hz'}\n )\n-def makeData(noise=True, nsamples=5000, frames=50, fsample=1000.0, frequency=0.0, amplitude=5.0):\n+def makeData(\n+    noise=args.noise,\n+    nsamples=args.nsamples,\n+    frames=args.frames,\n+    fsample=args.fsample,\n+    frequency=args.frequency,\n+    amplitude=args.amplitude,\n+):\n     global data, connect_array, ptr\n     ttt = np.arange(frames * nsamples, dtype=np.float64) / fsample\n     data = amplitude*np.sin(2*np.pi*frequency*ttt).reshape((frames, nsamples))\n", "issue": "PlotSpeedTest command line arguments ignored\n### Short description\r\n<!-- This should summarize the issue. -->\r\n\r\nSince 108365ba45c1a1302df110dad5f9d960d4d903a9, PlotSpeedTest command arguments are no longer honored.\r\n\r\n### Code to reproduce\r\n<!-- Please provide a minimal working example that reproduces the issue in the code block below.\r\n     Ideally, this should be a full example someone else could run without additional setup. -->\r\n\r\n```\r\nPlotSpeedTest.py --nsamples=10000\r\n```\r\n\r\n### Expected behavior\r\n<!-- What should happen? -->\r\n\r\nThe number of samples used should be 10000.\r\n\r\n### Real behavior\r\n<!-- What happens? -->\r\n\r\nThe number of samples used remains at the default of 5000.\r\n\r\n### Tested environment(s)\r\n\r\n * PyQtGraph version: master\r\n * Qt Python binding: PyQt5 5.15.7, PySide6 6.3.2\r\n * Python version: Python 3.8.10 \r\n * Operating system: Windows 10\r\n * Installation method: pip install -e . <!-- e.g. pip, conda, system packages, ... -->\r\n\r\n\n", "before_files": [{"content": "#!/usr/bin/python\n\"\"\"\nUpdate a simple plot as rapidly as possible to measure speed.\n\"\"\"\n\nimport argparse\nfrom collections import deque\nfrom time import perf_counter\n\nimport numpy as np\n\nimport pyqtgraph as pg\nimport pyqtgraph.functions as fn\nimport pyqtgraph.parametertree as ptree\nfrom pyqtgraph.Qt import QtCore, QtGui, QtWidgets\n\n# defaults here result in the same configuration as the original PlotSpeedTest\nparser = argparse.ArgumentParser()\nparser.add_argument('--noise', dest='noise', action='store_true')\nparser.add_argument('--no-noise', dest='noise', action='store_false')\nparser.set_defaults(noise=True)\nparser.add_argument('--nsamples', default=5000, type=int)\nparser.add_argument('--frames', default=50, type=int)\nparser.add_argument('--fsample', default=1000, type=float)\nparser.add_argument('--frequency', default=0, type=float)\nparser.add_argument('--amplitude', default=5, type=float)\nparser.add_argument('--opengl', dest='use_opengl', action='store_true')\nparser.add_argument('--no-opengl', dest='use_opengl', action='store_false')\nparser.set_defaults(use_opengl=None)\nparser.add_argument('--allow-opengl-toggle', action='store_true',\n    help=\"\"\"Allow on-the-fly change of OpenGL setting. This may cause unwanted side effects.\n    \"\"\")\nargs = parser.parse_args()\n\nif args.use_opengl is not None:\n    pg.setConfigOption('useOpenGL', args.use_opengl)\n    pg.setConfigOption('enableExperimental', args.use_opengl)\n\n# don't limit frame rate to vsync\nsfmt = QtGui.QSurfaceFormat()\nsfmt.setSwapInterval(0)\nQtGui.QSurfaceFormat.setDefaultFormat(sfmt)\n\n\nclass MonkeyCurveItem(pg.PlotCurveItem):\n    def __init__(self, *args, **kwds):\n        super().__init__(*args, **kwds)\n        self.monkey_mode = ''\n\n    def setMethod(self, value):\n        self.monkey_mode = value\n\n    def paint(self, painter, opt, widget):\n        if self.monkey_mode not in ['drawPolyline']:\n            return super().paint(painter, opt, widget)\n\n        painter.setRenderHint(painter.RenderHint.Antialiasing, self.opts['antialias'])\n        painter.setPen(pg.mkPen(self.opts['pen']))\n\n        if self.monkey_mode == 'drawPolyline':\n            painter.drawPolyline(fn.arrayToQPolygonF(self.xData, self.yData))\n\napp = pg.mkQApp(\"Plot Speed Test\")\n\ndefault_pen = pg.mkPen()\n\nparams = ptree.Parameter.create(name='Parameters', type='group')\npt = ptree.ParameterTree(showHeader=False)\npt.setParameters(params)\npw = pg.PlotWidget()\nsplitter = QtWidgets.QSplitter()\nsplitter.addWidget(pt)\nsplitter.addWidget(pw)\nsplitter.show()\n\ninteractor = ptree.Interactor(\n    parent=params, nest=False, runOptions=ptree.RunOptions.ON_CHANGED\n)\n\npw.setWindowTitle('pyqtgraph example: PlotSpeedTest')\npw.setLabel('bottom', 'Index', units='B')\ncurve = MonkeyCurveItem(pen=default_pen, brush='b')\npw.addItem(curve)\n\nrollingAverageSize = 1000\nelapsed = deque(maxlen=rollingAverageSize)\n\ndef resetTimings(*args):\n    elapsed.clear()\n\n@interactor.decorate(\n    nest=True,\n    nsamples={'limits': [0, None]},\n    frames={'limits': [1, None]},\n    fsample={'units': 'Hz'},\n    frequency={'units': 'Hz'}\n)\ndef makeData(noise=True, nsamples=5000, frames=50, fsample=1000.0, frequency=0.0, amplitude=5.0):\n    global data, connect_array, ptr\n    ttt = np.arange(frames * nsamples, dtype=np.float64) / fsample\n    data = amplitude*np.sin(2*np.pi*frequency*ttt).reshape((frames, nsamples))\n    if noise:\n        data += np.random.normal(size=data.shape)\n    connect_array = np.ones(data.shape[-1], dtype=bool)\n    ptr = 0\n    pw.setRange(QtCore.QRectF(0, -10, nsamples, 20))\n\nparams.child('makeData').setOpts(title='Plot Options')\n\n@interactor.decorate(\n    connect={'type': 'list', 'limits': ['all', 'pairs', 'finite', 'array']}\n)\ndef update(\n    antialias=pg.getConfigOption('antialias'),\n    connect='all',\n    skipFiniteCheck=False\n):\n    global curve, data, ptr, elapsed, fpsLastUpdate\n\n    if connect == 'array':\n        connect = connect_array\n\n    # Measure\n    t_start = perf_counter()\n    curve.setData(data[ptr], antialias=antialias, connect=connect, skipFiniteCheck=skipFiniteCheck)\n    app.processEvents(QtCore.QEventLoop.ProcessEventsFlag.AllEvents)\n    t_end = perf_counter()\n    elapsed.append(t_end - t_start)\n    ptr = (ptr + 1) % data.shape[0]\n\n    # update fps at most once every 0.2 secs\n    if t_end - fpsLastUpdate > 0.2:\n        fpsLastUpdate = t_end\n        average = np.mean(elapsed)\n        fps = 1 / average\n        pw.setTitle('%0.2f fps - %0.1f ms avg' % (fps, average * 1_000))\n\n@interactor.decorate(\n    useOpenGL={'readonly': not args.allow_opengl_toggle},\n    plotMethod={'limits': ['pyqtgraph', 'drawPolyline'], 'type': 'list'},\n    curvePen={'type': 'pen'}\n)\ndef updateOptions(\n    curvePen=pg.mkPen(),\n    plotMethod='pyqtgraph',\n    fillLevel=False,\n    enableExperimental=False,\n    useOpenGL=False,\n):\n    pg.setConfigOption('enableExperimental', enableExperimental)\n    pg.setConfigOption('useOpenGL', useOpenGL)\n    curve.setPen(curvePen)\n    curve.setFillLevel(0.0 if fillLevel else None)\n    curve.setMethod(plotMethod)\n\nparams.sigTreeStateChanged.connect(resetTimings)\n\nmakeData()\n\nfpsLastUpdate = perf_counter()\n\ntimer = QtCore.QTimer()\ntimer.timeout.connect(update)\ntimer.start(0)\n\nif __name__ == '__main__':\n    # Splitter by default gives too small of a width to the parameter tree,\n    # so fix that right before the event loop\n    pt.setMinimumSize(225,0)\n    pg.exec()\n", "path": "pyqtgraph/examples/PlotSpeedTest.py"}], "after_files": [{"content": "#!/usr/bin/python\n\"\"\"\nUpdate a simple plot as rapidly as possible to measure speed.\n\"\"\"\n\nimport argparse\nfrom collections import deque\nfrom time import perf_counter\n\nimport numpy as np\n\nimport pyqtgraph as pg\nimport pyqtgraph.functions as fn\nimport pyqtgraph.parametertree as ptree\nfrom pyqtgraph.Qt import QtCore, QtGui, QtWidgets\n\n# defaults here result in the same configuration as the original PlotSpeedTest\nparser = argparse.ArgumentParser()\nparser.add_argument('--noise', dest='noise', action='store_true')\nparser.add_argument('--no-noise', dest='noise', action='store_false')\nparser.set_defaults(noise=True)\nparser.add_argument('--nsamples', default=5000, type=int)\nparser.add_argument('--frames', default=50, type=int)\nparser.add_argument('--fsample', default=1000, type=float)\nparser.add_argument('--frequency', default=0, type=float)\nparser.add_argument('--amplitude', default=5, type=float)\nparser.add_argument('--opengl', dest='use_opengl', action='store_true')\nparser.add_argument('--no-opengl', dest='use_opengl', action='store_false')\nparser.set_defaults(use_opengl=None)\nparser.add_argument('--allow-opengl-toggle', action='store_true',\n    help=\"\"\"Allow on-the-fly change of OpenGL setting. This may cause unwanted side effects.\n    \"\"\")\nargs = parser.parse_args()\n\nif args.use_opengl is not None:\n    pg.setConfigOption('useOpenGL', args.use_opengl)\n    pg.setConfigOption('enableExperimental', args.use_opengl)\n\n# don't limit frame rate to vsync\nsfmt = QtGui.QSurfaceFormat()\nsfmt.setSwapInterval(0)\nQtGui.QSurfaceFormat.setDefaultFormat(sfmt)\n\n\nclass MonkeyCurveItem(pg.PlotCurveItem):\n    def __init__(self, *args, **kwds):\n        super().__init__(*args, **kwds)\n        self.monkey_mode = ''\n\n    def setMethod(self, value):\n        self.monkey_mode = value\n\n    def paint(self, painter, opt, widget):\n        if self.monkey_mode not in ['drawPolyline']:\n            return super().paint(painter, opt, widget)\n\n        painter.setRenderHint(painter.RenderHint.Antialiasing, self.opts['antialias'])\n        painter.setPen(pg.mkPen(self.opts['pen']))\n\n        if self.monkey_mode == 'drawPolyline':\n            painter.drawPolyline(fn.arrayToQPolygonF(self.xData, self.yData))\n\napp = pg.mkQApp(\"Plot Speed Test\")\n\ndefault_pen = pg.mkPen()\n\nparams = ptree.Parameter.create(name='Parameters', type='group')\npt = ptree.ParameterTree(showHeader=False)\npt.setParameters(params)\npw = pg.PlotWidget()\nsplitter = QtWidgets.QSplitter()\nsplitter.addWidget(pt)\nsplitter.addWidget(pw)\nsplitter.show()\n\ninteractor = ptree.Interactor(\n    parent=params, nest=False, runOptions=ptree.RunOptions.ON_CHANGED\n)\n\npw.setWindowTitle('pyqtgraph example: PlotSpeedTest')\npw.setLabel('bottom', 'Index', units='B')\ncurve = MonkeyCurveItem(pen=default_pen, brush='b')\npw.addItem(curve)\n\nrollingAverageSize = 1000\nelapsed = deque(maxlen=rollingAverageSize)\n\ndef resetTimings(*args):\n    elapsed.clear()\n\n@interactor.decorate(\n    nest=True,\n    nsamples={'limits': [0, None]},\n    frames={'limits': [1, None]},\n    fsample={'units': 'Hz'},\n    frequency={'units': 'Hz'}\n)\ndef makeData(\n    noise=args.noise,\n    nsamples=args.nsamples,\n    frames=args.frames,\n    fsample=args.fsample,\n    frequency=args.frequency,\n    amplitude=args.amplitude,\n):\n    global data, connect_array, ptr\n    ttt = np.arange(frames * nsamples, dtype=np.float64) / fsample\n    data = amplitude*np.sin(2*np.pi*frequency*ttt).reshape((frames, nsamples))\n    if noise:\n        data += np.random.normal(size=data.shape)\n    connect_array = np.ones(data.shape[-1], dtype=bool)\n    ptr = 0\n    pw.setRange(QtCore.QRectF(0, -10, nsamples, 20))\n\nparams.child('makeData').setOpts(title='Plot Options')\n\n@interactor.decorate(\n    connect={'type': 'list', 'limits': ['all', 'pairs', 'finite', 'array']}\n)\ndef update(\n    antialias=pg.getConfigOption('antialias'),\n    connect='all',\n    skipFiniteCheck=False\n):\n    global curve, data, ptr, elapsed, fpsLastUpdate\n\n    if connect == 'array':\n        connect = connect_array\n\n    # Measure\n    t_start = perf_counter()\n    curve.setData(data[ptr], antialias=antialias, connect=connect, skipFiniteCheck=skipFiniteCheck)\n    app.processEvents(QtCore.QEventLoop.ProcessEventsFlag.AllEvents)\n    t_end = perf_counter()\n    elapsed.append(t_end - t_start)\n    ptr = (ptr + 1) % data.shape[0]\n\n    # update fps at most once every 0.2 secs\n    if t_end - fpsLastUpdate > 0.2:\n        fpsLastUpdate = t_end\n        average = np.mean(elapsed)\n        fps = 1 / average\n        pw.setTitle('%0.2f fps - %0.1f ms avg' % (fps, average * 1_000))\n\n@interactor.decorate(\n    useOpenGL={'readonly': not args.allow_opengl_toggle},\n    plotMethod={'limits': ['pyqtgraph', 'drawPolyline'], 'type': 'list'},\n    curvePen={'type': 'pen'}\n)\ndef updateOptions(\n    curvePen=pg.mkPen(),\n    plotMethod='pyqtgraph',\n    fillLevel=False,\n    enableExperimental=False,\n    useOpenGL=False,\n):\n    pg.setConfigOption('enableExperimental', enableExperimental)\n    pg.setConfigOption('useOpenGL', useOpenGL)\n    curve.setPen(curvePen)\n    curve.setFillLevel(0.0 if fillLevel else None)\n    curve.setMethod(plotMethod)\n\nparams.sigTreeStateChanged.connect(resetTimings)\n\nmakeData()\n\nfpsLastUpdate = perf_counter()\n\ntimer = QtCore.QTimer()\ntimer.timeout.connect(update)\ntimer.start(0)\n\nif __name__ == '__main__':\n    # Splitter by default gives too small of a width to the parameter tree,\n    # so fix that right before the event loop\n    pt.setMinimumSize(225,0)\n    pg.exec()\n", "path": "pyqtgraph/examples/PlotSpeedTest.py"}]}