Fast data visualization and GUI tools for scientific / engineering applications
This report summarizes scanner evidence for pyqtgraph/pyqtgraph, a Python project with 4,427 GitHub stars. SynthScan examined 90,067 lines of code across 468 source files, recording 825 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 14.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 322 finding(s).
Are imports declared and package/API names verified? 255 finding(s).
Are wrappers, guards, and repeated structures necessary? 342 finding(s).
Which changes need focused human review? 825 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 825 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/conftest.py | 10 | except AttributeError: | CODE |
| HIGH | tests/test_makeARGB.py | 14 | except ImportError: | CODE |
| HIGH | pyqtgraph/colormap.py | 454 | except ValueError: pass | CODE |
| HIGH | pyqtgraph/WidgetGroup.py | 43 | except AttributeError: | CODE |
| HIGH | pyqtgraph/SignalProxy.py | 93 | except: | CODE |
| HIGH | pyqtgraph/SignalProxy.py | 99 | except: | CODE |
| HIGH | pyqtgraph/__init__.py | 287 | except OSError: | CODE |
| HIGH | pyqtgraph/debug.py | 248 | except KeyError: | CODE |
| HIGH | pyqtgraph/debug.py | 377 | except: | CODE |
| HIGH | pyqtgraph/debug.py | 647 | except KeyError: | CODE |
| HIGH | pyqtgraph/debug.py | 816 | except KeyError: | CODE |
| HIGH | pyqtgraph/debug.py | 820 | except KeyError: | CODE |
| HIGH | pyqtgraph/debug.py | 326 | except TypeError: | CODE |
| HIGH | pyqtgraph/debug.py | 1084 | except: | CODE |
| HIGH | pyqtgraph/flowchart/Flowchart.py | 152 | except KeyError: | CODE |
| HIGH | pyqtgraph/flowchart/Flowchart.py | 216 | except (TypeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/flowchart/Flowchart.py | 729 | except (TypeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/flowchart/Flowchart.py | 313 | except KeyError: | CODE |
| HIGH | pyqtgraph/flowchart/library/Display.py | 112 | except ValueError: | CODE |
| HIGH | pyqtgraph/flowchart/library/Operators.py | 44 | except AttributeError as e: | CODE |
| HIGH | pyqtgraph/multiprocess/parallelizer.py | 110 | except Exception: | CODE |
| HIGH | pyqtgraph/multiprocess/remoteproxy.py | 487 | except ClosedError: | CODE |
| HIGH | pyqtgraph/multiprocess/remoteproxy.py | 597 | except ClosedError: ## if remote process has closed down, there is no need to send delete requests anymore | CODE |
| HIGH | pyqtgraph/multiprocess/remoteproxy.py | 672 | except NoResultError: | CODE |
| HIGH | pyqtgraph/multiprocess/remoteproxy.py | 499 | except ClosedError: ## even if remote connection has closed, we may have | CODE |
| HIGH | pyqtgraph/multiprocess/processes.py | 369 | except IOError: ## probably remote process has already quit | CODE |
| HIGH | pyqtgraph/multiprocess/processes.py | 374 | except OSError: ## probably remote process has already quit | CODE |
| HIGH | pyqtgraph/dockarea/Container.py | 97 | except: | CODE |
| HIGH | pyqtgraph/graphicsItems/GridItem.py | 138 | except IndexError: | CODE |
| HIGH | pyqtgraph/graphicsItems/GraphicsObject.py | 28 | except AttributeError: | CODE |
| HIGH | pyqtgraph/graphicsItems/AxisItem.py | 953 | except ValueError: pass # ignore any non-numeric value | CODE |
| HIGH | pyqtgraph/graphicsItems/ScatterPlotItem.py | 1183 | except: | CODE |
| HIGH | pyqtgraph/graphicsItems/FillBetweenItem.py | 116 | except (TypeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/graphicsItems/GraphicsItem.py | 428 | except (TypeError, AttributeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/graphicsItems/PlotItem/PlotItem.py | 1608 | except RuntimeError: | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 445 | except: | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 64 | except AttributeError: | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1045 | except (TypeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1824 | except RuntimeError: ## signal is already disconnected. | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1826 | except TypeError: ## view has already been deleted (?) | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1828 | except AttributeError: # PySide has deleted signal | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBoxMenu.py | 259 | except ValueError: | CODE |
| HIGH | pyqtgraph/Qt/__init__.py | 49 | except ImportError: | CODE |
| HIGH | pyqtgraph/parametertree/SystemSolver.py | 278 | except RuntimeError: | CODE |
| HIGH | pyqtgraph/parametertree/Parameter.py | 805 | except (TypeError, RuntimeError): ## already disconnected | CODE |
| HIGH | pyqtgraph/parametertree/parameterTypes/slider.py | 93 | except AttributeError: | CODE |
| HIGH | pyqtgraph/widgets/ComboBox.py | 134 | except ValueError: | CODE |
| HIGH | pyqtgraph/widgets/ComboBox.py | 220 | except AttributeError: | CODE |
| HIGH | pyqtgraph/widgets/ScatterPlotWidget.py | 245 | except: | CODE |
| HIGH | pyqtgraph/widgets/SpinBox.py | 415 | except RuntimeError: | CODE |
| HIGH | pyqtgraph/widgets/GraphicsView.py | 282 | except (TypeError, RuntimeError): | CODE |
| HIGH | pyqtgraph/widgets/ColorMapMenu.py | 255 | except ValueError: | CODE |
| HIGH | pyqtgraph/opengl/items/GLMeshItem.py | 174 | except KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test.py | 12 | CODE | |
| LOW | test.py | 15 | CODE | |
| LOW | test.py | 18 | CODE | |
| LOW | tests/image_testing.py | 27 | CODE | |
| LOW | tests/__init__.py | 1 | CODE | |
| LOW | tests/__init__.py | 1 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/__init__.py | 2 | CODE | |
| LOW | tests/test_makeARGB.py | 13 | CODE | |
| LOW | tests/test_qt.py | 3 | CODE | |
| LOW | tests/test_qpainterpathprivate.py | 2 | CODE | |
| LOW | tests/graphicsItems/test_ROI.py | 6 | CODE | |
| LOW | tests/graphicsItems/test_ROI.py | 6 | CODE | |
| LOW | tests/parametertree/test_utils.py | 4 | CODE | |
| LOW | pyqtgraph/functions.py | 18 | CODE | |
| LOW | pyqtgraph/Vector.py | 9 | CODE | |
| LOW | pyqtgraph/reload.py | 23 | CODE | |
| LOW | pyqtgraph/__init__.py | 10 | CODE | |
| LOW | pyqtgraph/__init__.py | 14 | CODE | |
| LOW | pyqtgraph/__init__.py | 19 | CODE | |
| LOW | pyqtgraph/__init__.py | 20 | CODE | |
| LOW | pyqtgraph/__init__.py | 131 | CODE | |
| LOW | pyqtgraph/__init__.py | 132 | CODE | |
| LOW | pyqtgraph/__init__.py | 133 | CODE | |
| LOW | pyqtgraph/__init__.py | 134 | CODE | |
| LOW | pyqtgraph/__init__.py | 135 | CODE | |
| LOW | pyqtgraph/__init__.py | 136 | CODE | |
| LOW | pyqtgraph/__init__.py | 137 | CODE | |
| LOW | pyqtgraph/__init__.py | 138 | CODE | |
| LOW | pyqtgraph/__init__.py | 139 | CODE | |
| LOW | pyqtgraph/__init__.py | 140 | CODE | |
| LOW | pyqtgraph/__init__.py | 141 | CODE | |
| LOW | pyqtgraph/__init__.py | 142 | CODE | |
| LOW | pyqtgraph/__init__.py | 143 | CODE | |
| LOW | pyqtgraph/__init__.py | 144 | CODE | |
| LOW | pyqtgraph/__init__.py | 145 | CODE | |
| LOW | pyqtgraph/__init__.py | 146 | CODE | |
| LOW | pyqtgraph/__init__.py | 147 | CODE | |
| LOW | pyqtgraph/__init__.py | 148 | CODE | |
| LOW | pyqtgraph/__init__.py | 149 | CODE | |
| LOW | pyqtgraph/__init__.py | 150 | CODE | |
| LOW | pyqtgraph/__init__.py | 151 | CODE | |
| LOW | pyqtgraph/__init__.py | 152 | CODE | |
| LOW | pyqtgraph/__init__.py | 153 | CODE | |
| LOW | pyqtgraph/__init__.py | 154 | CODE | |
| LOW | pyqtgraph/__init__.py | 155 | CODE | |
| LOW | pyqtgraph/__init__.py | 156 | CODE | |
| LOW | pyqtgraph/__init__.py | 157 | CODE | |
| LOW | pyqtgraph/__init__.py | 158 | CODE | |
| LOW | pyqtgraph/__init__.py | 159 | CODE | |
| LOW | pyqtgraph/__init__.py | 160 | CODE | |
| LOW | pyqtgraph/__init__.py | 161 | CODE | |
| LOW | pyqtgraph/__init__.py | 162 | CODE | |
| LOW | pyqtgraph/__init__.py | 163 | CODE | |
| LOW | pyqtgraph/__init__.py | 164 | CODE | |
| LOW | pyqtgraph/__init__.py | 165 | CODE | |
| 158 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/test_Point.py | 44 | assert point.length() == length | CODE |
| HIGH | pyqtgraph/Vector.py | 81 | n1 = self.length() | CODE |
| HIGH | pyqtgraph/Vector.py | 82 | n2 = a.length() | CODE |
| HIGH | pyqtgraph/SRTTransform.py | 71 | 'scale': Point(dp2.length(), dp3.length() * sy), | CODE |
| HIGH | pyqtgraph/Point.py | 106 | return self / self.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 933 | if lp1.length() == 0 or lp0.length() == 0: | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 970 | if lp1.length() == 0 or lp0.length() == 0: | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 982 | newState['size'][0] = self.state['size'][0] * lp1.length() / lp0.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 987 | newState['size'][1] = self.state['size'][1] * lp1.length() / lp0.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 1095 | px *= 0 if vx is None else vx.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 1096 | py *= 0 if vy is None else vy.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 1698 | l = d.length() | STRING |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 2234 | if dh.length() == 0: | STRING |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 2265 | rgn = fn.affineSlice(data, shape=(int(d.length()),), vectors=[Point(d.norm())], origin=o, axes=axes, order=order | STRING |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 2353 | length = vec.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ROI.py | 2358 | pos = 0.5 * (p1 + p2) + pvecT * 40 / pvecT.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/PlotCurveItem.py | 345 | px = 0 if px is None else px.length() | STRING |
| HIGH | pyqtgraph/graphicsItems/PlotCurveItem.py | 349 | py = 0 if py is None else py.length() | STRING |
| HIGH | pyqtgraph/graphicsItems/PColorMeshItem.py | 473 | px = 0 if px is None else px.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/PColorMeshItem.py | 474 | py = 0 if py is None else py.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ScatterPlotItem.py | 915 | px = 0 if px is None else px.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ScatterPlotItem.py | 919 | py = 0 if py is None else py.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ScatterPlotItem.py | 1058 | px = 0 if px is None else px.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ScatterPlotItem.py | 1062 | py = 0 if py is None else py.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/BarGraphItem.py | 297 | px = 0 if px is None else px.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/BarGraphItem.py | 298 | py = 0 if py is None else py.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/BoxplotItem.py | 230 | px = 0 if px is None else px.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/BoxplotItem.py | 231 | py = 0 if py is None else py.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/GraphicsItem.py | 247 | if viewDir.length() == 0: | CODE |
| HIGH | pyqtgraph/graphicsItems/GraphicsItem.py | 280 | return orthoV.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/GraphicsItem.py | 281 | return normV.length() | CODE |
| HIGH | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1291 | self._viewPixelSizeCache = (px.length(), py.length()) | CODE |
| HIGH | pyqtgraph/examples/fractal.py | 52 | l1 = v1.length() | CODE |
| HIGH | pyqtgraph/examples/fractal.py | 59 | s = v2.length() / l1 | CODE |
| HIGH | pyqtgraph/examples/jupyter_console_example.py | 68 | kernel.shell.push(dict(np=np, pw=self.plot_widget)) | CODE |
| HIGH | pyqtgraph/examples/relativity/relativity.py | 474 | if g == 0: ## no acceleration, path is linear (and hyperbola is undefined) | CODE |
| HIGH | pyqtgraph/opengl/GLViewWidget.py | 442 | dist = cVec.length() ## distance from camera to center | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/makeARGB_test_data.py | 4235 | CODE | |
| LOW | tests/test_functions.py | 134 | CODE | |
| LOW | tests/test_stability.py | 51 | CODE | |
| LOW | tests/graphicsItems/test_DateAxisItem.py | 190 | CODE | |
| LOW | pyqtgraph/functions.py | 319 | CODE | |
| LOW | pyqtgraph/functions.py | 752 | CODE | |
| LOW | pyqtgraph/functions.py | 1423 | CODE | |
| LOW | pyqtgraph/functions.py | 1638 | CODE | |
| LOW | pyqtgraph/colormap.py | 13 | CODE | |
| LOW | pyqtgraph/colormap.py | 92 | CODE | |
| LOW | pyqtgraph/colormap.py | 142 | CODE | |
| LOW | pyqtgraph/colormap.py | 257 | CODE | |
| LOW | pyqtgraph/colormap.py | 546 | CODE | |
| LOW | pyqtgraph/colormap.py | 741 | CODE | |
| LOW | pyqtgraph/functions_qimage.py | 222 | CODE | |
| LOW | pyqtgraph/Vector.py | 15 | CODE | |
| LOW | pyqtgraph/algorithms.py | 18 | CODE | |
| LOW | pyqtgraph/algorithms.py | 712 | CODE | |
| LOW | pyqtgraph/WidgetGroup.py | 128 | CODE | |
| LOW | pyqtgraph/SRTTransform3D.py | 15 | CODE | |
| LOW | pyqtgraph/reload.py | 110 | CODE | |
| LOW | pyqtgraph/reload.py | 202 | CODE | |
| LOW | pyqtgraph/reload.py | 296 | CODE | |
| LOW | pyqtgraph/configfile.py | 121 | CODE | |
| LOW | pyqtgraph/__init__.py | 94 | CODE | |
| LOW | pyqtgraph/SRTTransform.py | 14 | CODE | |
| LOW | pyqtgraph/Point.py | 17 | CODE | |
| LOW | pyqtgraph/arraytoline.py | 344 | CODE | |
| LOW | pyqtgraph/debug.py | 189 | CODE | |
| LOW | pyqtgraph/debug.py | 266 | CODE | |
| LOW | pyqtgraph/debug.py | 293 | CODE | |
| LOW | pyqtgraph/debug.py | 347 | CODE | |
| LOW | pyqtgraph/debug.py | 950 | CODE | |
| LOW | pyqtgraph/debug.py | 1072 | CODE | |
| LOW | pyqtgraph/debug.py | 1129 | CODE | |
| LOW | pyqtgraph/debug.py | 1182 | CODE | |
| LOW | pyqtgraph/imageview/ImageView.py | 256 | CODE | |
| LOW | pyqtgraph/imageview/ImageView.py | 508 | CODE | |
| LOW | pyqtgraph/imageview/ImageView.py | 552 | CODE | |
| LOW | pyqtgraph/flowchart/Terminal.py | 232 | CODE | |
| LOW | pyqtgraph/flowchart/Terminal.py | 405 | CODE | |
| LOW | pyqtgraph/flowchart/Flowchart.py | 247 | CODE | |
| LOW | pyqtgraph/flowchart/Flowchart.py | 322 | CODE | |
| LOW | pyqtgraph/flowchart/Flowchart.py | 369 | CODE | |
| LOW | pyqtgraph/flowchart/library/functions.py | 205 | CODE | |
| LOW | pyqtgraph/flowchart/library/Display.py | 46 | CODE | |
| LOW | pyqtgraph/flowchart/library/Display.py | 136 | CODE | |
| LOW | pyqtgraph/flowchart/library/common.py | 15 | CODE | |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 121 | CODE | |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 213 | CODE | |
| LOW | pyqtgraph/multiprocess/remoteproxy.py | 168 | CODE | |
| LOW | pyqtgraph/multiprocess/remoteproxy.py | 490 | CODE | |
| LOW | pyqtgraph/multiprocess/processes.py | 515 | CODE | |
| LOW | pyqtgraph/dockarea/DockArea.py | 265 | CODE | |
| LOW | pyqtgraph/dockarea/DockDrop.py | 37 | CODE | |
| LOW | pyqtgraph/dockarea/DockDrop.py | 103 | CODE | |
| LOW | pyqtgraph/util/cprint.py | 53 | CODE | |
| LOW | pyqtgraph/util/garbage_collector.py | 30 | CODE | |
| LOW | pyqtgraph/util/mutex.py | 41 | CODE | |
| LOW | pyqtgraph/exporters/Matplotlib.py | 65 | CODE | |
| 85 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/graphicsItems/test_LegendItem.py | 25 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/graphicsItems/test_LegendItem.py | 33 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/graphicsItems/test_LegendItem.py | 41 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/graphicsItems/test_LegendItem.py | 49 | # ---------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/graphicsItems/test_LegendItem.py | 57 | # ---------------------------------------------------- | COMMENT |
| MEDIUM | tests/graphicsItems/test_LegendItem.py | 88 | # ---------------------------------------------------- | COMMENT |
| MEDIUM | tests/parametertree/test_Parameter.py | 749 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/parametertree/test_Parameter.py | 752 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/parametertree/test_parametertypes.py | 322 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/parametertree/test_parametertypes.py | 330 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/widgets/test_graphics_view.py | 21 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/widgets/test_graphics_view.py | 32 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/widgets/test_graphics_view.py | 38 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/widgets/test_graphics_view.py | 48 | # -------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/widgets/test_graphics_view.py | 57 | # -------------------------------------- | COMMENT |
| MEDIUM | tests/widgets/test_graphics_view.py | 74 | # -------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/algorithms.py | 792 | # B ──┬─────> C <── D | STRING |
| MEDIUM | pyqtgraph/parametertree/ParameterItem.py | 288 | # ── Ctrl button ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pyqtgraph/parametertree/ParameterItem.py | 340 | # ── Value ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pyqtgraph/parametertree/ParameterItem.py | 361 | # ── State ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | pyqtgraph/parametertree/ParameterItem.py | 389 | # ── Rename / Remove / Context ─────────────────────────────────────────── | COMMENT |
| MEDIUM | pyqtgraph/parametertree/ParameterItem.py | 457 | # ── Standard item methods ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/utils.py | 212 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/iojson.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/iojson.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/iojson.py | 151 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyqtgraph/parametertree/iojson.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyqtgraph/functions.py | 24 | __all__ = [ | CODE |
| LOW | pyqtgraph/colormap.py | 9 | __all__ = ['ColorMap'] | CODE |
| LOW | pyqtgraph/algorithms.py | 4 | __all__ = ['isocurve', 'isosurface', 'pseudoScatter', 'toposort'] | CODE |
| LOW | pyqtgraph/WidgetGroup.py | 15 | __all__ = ['WidgetGroup'] | CODE |
| LOW | pyqtgraph/SignalProxy.py | 8 | __all__ = ['SignalProxy'] | CODE |
| LOW | pyqtgraph/ThreadsafeTimer.py | 3 | __all__ = ['ThreadsafeTimer'] | CODE |
| LOW | pyqtgraph/arraytoline.py | 1 | __all__ = ['arrayToQPath'] | CODE |
| LOW | pyqtgraph/imageview/__init__.py | 8 | __all__ = ['ImageView'] | CODE |
| LOW | pyqtgraph/flowchart/Terminal.py | 1 | __all__ = ["Terminal", "TerminalGraphicsItem"] | CODE |
| LOW | pyqtgraph/flowchart/Node.py | 1 | __all__ = ["Node", "NodeGraphicsItem"] | CODE |
| LOW | pyqtgraph/flowchart/library/common.py | 1 | __all__ = ["CtrlNode", "PlottingCtrlNode"] | CODE |
| LOW | pyqtgraph/multiprocess/processes.py | 21 | __all__ = ['Process', 'QtProcess', 'ForkedProcess', 'ClosedError', 'NoResultError'] | CODE |
| LOW | pyqtgraph/dockarea/Container.py | 1 | __all__ = ["Container", "HContainer", "VContainer", "TContainer"] | CODE |
| LOW | pyqtgraph/dockarea/DockDrop.py | 1 | __all__ = ["DockDrop"] | CODE |
| LOW | pyqtgraph/exporters/Matplotlib.py | 6 | __all__ = ['MatplotlibExporter'] | CODE |
| LOW | pyqtgraph/exporters/CSVExporter.py | 13 | __all__ = ['CSVExporter'] | CODE |
| LOW | pyqtgraph/exporters/SVGExporter.py | 1 | __all__ = ['SVGExporter'] | CODE |
| LOW | pyqtgraph/exporters/HDF5Exporter.py | 15 | __all__ = ["HDF5Exporter"] | CODE |
| LOW | pyqtgraph/exporters/PrintExporter.py | 7 | __all__ = ['PrintExporter'] | CODE |
| LOW | pyqtgraph/exporters/ImageExporter.py | 6 | __all__ = ['ImageExporter'] | CODE |
| LOW | pyqtgraph/GraphicsScene/GraphicsScene.py | 14 | __all__ = ['GraphicsScene'] | CODE |
| LOW | pyqtgraph/GraphicsScene/mouseEvents.py | 1 | __all__ = ["MouseDragEvent", "MouseClickEvent", "HoverEvent"] | CODE |
| LOW | pyqtgraph/graphicsItems/GraphicsLayout.py | 1 | __all__ = ['GraphicsLayout'] | CODE |
| LOW | pyqtgraph/graphicsItems/GraphItem.py | 9 | __all__ = ['GraphItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/InfiniteLine.py | 13 | __all__ = ['InfiniteLine', 'InfLineLabel'] | CODE |
| LOW | pyqtgraph/graphicsItems/HistogramLUTItem.py | 6 | __all__ = ['HistogramLUTItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/TextItem.py | 8 | __all__ = ['TextItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/GradientLegend.py | 5 | __all__ = ['GradientLegend'] | CODE |
| LOW | pyqtgraph/graphicsItems/ROI.py | 29 | __all__ = [ | CODE |
| LOW | pyqtgraph/graphicsItems/GridItem.py | 9 | __all__ = ['GridItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ArrowItem.py | 6 | __all__ = ['ArrowItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/DateAxisItem.py | 10 | __all__ = ['DateAxisItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/LinearRegionItem.py | 7 | __all__ = ['LinearRegionItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ScaleBar.py | 9 | __all__ = ['ScaleBar'] | CODE |
| LOW | pyqtgraph/graphicsItems/LabelItem.py | 7 | __all__ = ['LabelItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/LegendItem.py | 14 | __all__ = ['LegendItem', 'ItemSample'] | CODE |
| LOW | pyqtgraph/graphicsItems/PlotCurveItem.py | 15 | __all__ = ['PlotCurveItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ColorBarItem.py | 13 | __all__ = ['ColorBarItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ItemGroup.py | 1 | __all__ = ['ItemGroup'] | CODE |
| LOW | pyqtgraph/graphicsItems/GraphicsWidget.py | 1 | __all__ = ['GraphicsWidget'] | CODE |
| LOW | pyqtgraph/graphicsItems/VTickGroup.py | 5 | __all__ = ['VTickGroup'] | CODE |
| LOW | pyqtgraph/graphicsItems/GraphicsObject.py | 1 | __all__ = ['GraphicsObject'] | CODE |
| LOW | pyqtgraph/graphicsItems/IsocurveItem.py | 6 | __all__ = ['IsocurveItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ImageItem.py | 21 | __all__ = ['ImageItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/NonUniformImage.py | 9 | __all__ = ['NonUniformImage'] | CODE |
| LOW | pyqtgraph/graphicsItems/AxisItem.py | 14 | __all__ = ['AxisItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/PColorMeshItem.py | 12 | __all__ = ['PColorMeshItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ScatterPlotItem.py | 15 | __all__ = ['ScatterPlotItem', 'SpotItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/GradientPresets.py | 1 | __all__ = ['Gradients'] | CODE |
| LOW | pyqtgraph/graphicsItems/ButtonItem.py | 4 | __all__ = ['ButtonItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/PlotDataItem.py | 17 | __all__ = ['PlotDataItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/GraphicsWidgetAnchor.py | 4 | __all__ = ['GraphicsWidgetAnchor'] | CODE |
| LOW | pyqtgraph/graphicsItems/BarGraphItem.py | 9 | __all__ = ['BarGraphItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/FillBetweenItem.py | 8 | __all__ = ['FillBetweenItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/ErrorBarItem.py | 6 | __all__ = ['ErrorBarItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/BoxplotItem.py | 10 | __all__ = ['BoxplotItem'] | CODE |
| LOW | pyqtgraph/graphicsItems/CurvePoint.py | 9 | __all__ = ['CurvePoint', 'CurveArrow'] | CODE |
| LOW | pyqtgraph/graphicsItems/GradientEditorItem.py | 17 | __all__ = ['TickSliderItem', 'GradientEditorItem', 'addGradientListToDocstring'] | CODE |
| LOW | pyqtgraph/graphicsItems/TargetItem.py | 13 | __all__ = ['TargetItem', 'TargetLabel'] | CODE |
| LOW | pyqtgraph/graphicsItems/UIGraphicsItem.py | 4 | __all__ = ['UIGraphicsItem'] | CODE |
| 56 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyqtgraph/exporters/SVGExporter.py | 146 | """This function is intended to work around some issues with Qt's SVG generator | STRING |
| MEDIUM | pyqtgraph/graphicsItems/ImageItem.py | 974 | # This method is also used when automatically computing levels. | COMMENT |
| MEDIUM | pyqtgraph/graphicsItems/PlotItem/PlotItem.py | 548 | ### Create a new curve if needed | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/GraphItem.py | 30 | ## Define the set of connections in the graph | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/GraphItem.py | 40 | ## Define the symbol to use for each node (this is optional) | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/GraphItem.py | 43 | ## Define the line style for each connection (this is optional) | COMMENT |
| MEDIUM | pyqtgraph/examples/InfiniteLine.py | 17 | # Create a plot with some random data | COMMENT |
| MEDIUM | pyqtgraph/examples/GLSurfacePlot.py | 20 | ## Create a GL View widget to display data | COMMENT |
| MEDIUM | pyqtgraph/examples/RemoteSpeedTest.py | 52 | ## Create a PlotItem in the remote process that will be displayed locally | COMMENT |
| MEDIUM | pyqtgraph/examples/DateAxisItem.py | 15 | # Create a plot with a date-time axis | COMMENT |
| MEDIUM | pyqtgraph/examples/ROItypes.py | 87 | ## Create a variety of different ROI types | COMMENT |
| MEDIUM | pyqtgraph/examples/RemoteGraphicsView.py | 13 | ## Create the widget | COMMENT |
| MEDIUM | pyqtgraph/examples/designerExample.py | 18 | ## Define main window class from template | COMMENT |
| MEDIUM | pyqtgraph/examples/designerExample.py | 28 | # Create the main window | COMMENT |
| MEDIUM | pyqtgraph/examples/Flowchart.py | 21 | ## Create main window with grid layout | COMMENT |
| MEDIUM | pyqtgraph/examples/PlotWidget.py | 29 | ## Create an empty plot curve to be filled later, set its pen | COMMENT |
| MEDIUM | pyqtgraph/examples/FlowchartCustomNode.py | 17 | ## Create main window with a grid layout inside | COMMENT |
| MEDIUM | pyqtgraph/examples/FlowchartCustomNode.py | 25 | ## Create an empty flowchart with a single input and output | COMMENT |
| MEDIUM | pyqtgraph/examples/FlowchartCustomNode.py | 97 | ## Define the input / output terminals available on this node | COMMENT |
| MEDIUM | pyqtgraph/examples/colorMapsLinearized.py | 22 | # Create a gray ramp for demonstrating the idea: | COMMENT |
| MEDIUM | pyqtgraph/examples/colorMapsLinearized.py | 32 | # Create a rainbow scale in HSL color space: | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/CustomGraphItem.py | 98 | ## Define the set of connections in the graph | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/CustomGraphItem.py | 108 | ## Define the symbol to use for each node (this is optional) | COMMENT |
| MEDIUM⚡ | pyqtgraph/examples/CustomGraphItem.py | 111 | ## Define the line style for each connection (this is optional) | COMMENT |
| MEDIUM | pyqtgraph/examples/GLIsosurface.py | 22 | ## Define a scalar field from which we will generate an isosurface | COMMENT |
| MEDIUM | pyqtgraph/examples/customGraphicsItem.py | 10 | ## Create a subclass of GraphicsObject. | COMMENT |
| MEDIUM | pyqtgraph/parametertree/Parameter.py | 825 | """This method is called when the parameter's parent has changed. | STRING |
| MEDIUM | doc/source/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_signalproxy.py | 53 | def test_signal_proxy_disconnect_slot(qapp): | CODE |
| LOW | tests/test_signalproxy.py | 77 | def test_signal_proxy_no_slot_start(qapp): | CODE |
| LOW | tests/test_signalproxy.py | 106 | def test_signal_proxy_slot_block(qapp): | CODE |
| LOW | tests/test_configparser.py | 36 | def test_duplicate_keys_error(tmpdir): | CODE |
| LOW | tests/test_configparser.py | 54 | def test_line_numbers_account_for_comments_and_blanks(tmpdir): | CODE |
| LOW | tests/test_configparser.py | 74 | def test_comment_indentation_is_ignored(tmpdir): | CODE |
| LOW | tests/makeARGB_test_data.py | 4235 | def _do_something_for_every_combo(func): | CODE |
| LOW | tests/makeARGB_test_data.py | 4259 | def write_expectation_to_file(data, key, levels, lut, scale, use_rgba): | CODE |
| LOW | tests/test_functions.py | 434 | def test_ndarray_from_qpolygonf(): | CODE |
| LOW | tests/test_functions.py | 510 | def test_mkpen_mkbrush_color_arg_priority_single_source(ctor): | CODE |
| LOW⚡ | tests/test_functions.py | 522 | def test_mkpen_mkbrush_color_arg_positional_conflict_warns(ctor, kwargs): | CODE |
| LOW⚡ | tests/test_functions.py | 531 | def test_mkpen_mkbrush_color_arg_hsv_color_conflict_warns(ctor): | CODE |
| LOW⚡ | tests/test_functions.py | 540 | def test_mkpen_mkbrush_color_arg_no_conflict_no_warning(ctor, recwarn): | CODE |
| LOW⚡ | tests/test_functions.py | 548 | def test_signal_block_unconnected(): | CODE |
| LOW | tests/test_qpainterpathprivate.py | 8 | def test_qpainterpathprivate_empty(): | CODE |
| LOW | tests/test_qpainterpathprivate.py | 24 | def test_qpainterpathprivate_read(): | CODE |
| LOW | tests/test_qpainterpathprivate.py | 40 | def test_qpainterpathprivate_write(): | CODE |
| LOW | tests/test_arraytoline.py | 135 | def test_compact_moveto_illegal_first_element(c): | CODE |
| LOW | tests/test_arraytoline.py | 151 | def test_compact_moveto_strips_moveto_without_lineto(c): | CODE |
| LOW | tests/test_arraytoline.py | 163 | def test_compact_moveto_selects_elements(): | CODE |
| LOW | tests/test_qmenu_leak_workaround.py | 5 | def test_qmenu_leak_workaround(): | CODE |
| LOW | tests/imageview/test_imageview.py | 43 | def test_init_with_mode_and_imageitem(): | CODE |
| LOW | tests/flowchart/test_flowchart.py | 8 | def test_flowchart_ctrl_widget_chart_widget_method(): | CODE |
| LOW | tests/dockarea/test_dockarea.py | 184 | def test_restoring_fails_silently_if_only_one_dock_in_container(): | CODE |
| LOW | tests/dockarea/test_dockarea.py | 224 | def test_floating_and_closed_before_save_and_restore_state(): | CODE |
| LOW | tests/dockarea/test_dockarea.py | 238 | def test_floating_and_redock_by_dragging_back_before_save_and_restore_state(): | CODE |
| LOW | tests/dockarea/test_dockarea.py | 251 | def test_floating_dock_closed_by_restore_state_does_not_error(): | CODE |
| LOW | tests/exporters/test_svg.py | 78 | def test_large_coordinate_curve_export(tmpdir): | CODE |
| LOW | tests/graphicsItems/test_PlotDataItem.py | 211 | def test_downsampling_with_connect(): | CODE |
| LOW | tests/graphicsItems/test_LinearRegionItem.py | 23 | def test_clip_to_plot_data_item(orientation): | CODE |
| LOW | tests/graphicsItems/test_LinearRegionItem.py | 71 | def test_clip_to_item_in_other_vb(): | CODE |
| LOW | tests/graphicsItems/test_LinearRegionItem.py | 102 | def test_clip_item_override_init_bounds(): | CODE |
| LOW | tests/graphicsItems/test_DateAxisItem.py | 73 | def reset_zoom_levels_utc_offsets(): | CODE |
| LOW⚡ | tests/graphicsItems/test_DateAxisItem.py | 93 | def test_preferred_utc_offset_respects_chosen_offset(): | CODE |
| LOW⚡ | tests/graphicsItems/test_DateAxisItem.py | 99 | def test_preferred_utc_offset_does_not_break_with_big_timestamps(): | CODE |
| LOW⚡ | tests/graphicsItems/test_DateAxisItem.py | 109 | def test_utc_offset_works_with_float_timestamp(): | CODE |
| LOW | tests/graphicsItems/test_DateAxisItem.py | 190 | def test_maps_tick_values_to_local_times( | CODE |
| LOW | tests/graphicsItems/test_DateAxisItem.py | 225 | def test_maps_hour_ticks_to_local_times_when_skip_greater_than_one(timeZone, dateAxis): | CODE |
| LOW | tests/graphicsItems/test_DateAxisItem.py | 249 | def test_custom_utc_offset_works(zoomLevel, expectedHourTickStrings, dateAxis): | CODE |
| LOW | tests/graphicsItems/PlotItem/test_PlotItem.py | 113 | def test_plotitem_menu_initialize(): | CODE |
| LOW | tests/graphicsItems/ViewBox/test_ViewBoxZoom.py | 170 | def test_zoom_ratio_with_limits_out_of_range(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 21 | def test_parameter_hasdefault(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 63 | def test_parameter_defaults_and_pristineness(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 425 | def test_rm_without_clear_cache(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 448 | def test_decorate_already_interactive(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 458 | def test_update_non_param_kwarg(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 566 | def test_interact_ignore_none_child(): | CODE |
| LOW | tests/parametertree/test_Parameter.py | 583 | def test_interact_existing_parent(): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 41 | def test_action_parameter_value_callable_activates(qtbot): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 51 | def test_action_parameter_value_callable_replacement(qtbot): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 76 | def test_action_parameter_value_callable_button_click(qtbot): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 207 | def test_set_to_default_updates_reset_action(): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 257 | def test_checklist_check_and_clear_all(limits, value): | CODE |
| LOW⚡ | tests/parametertree/test_parametertypes.py | 313 | def test_recreate_from_savestate(): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 363 | def test_json_file_round_trip(example_params, tmp_path): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 376 | def test_json_tuple_preservation(): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 395 | def test_json_color_parameter(): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 432 | def test_json_restore_preserves_signals(example_params): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 449 | def test_json_restore_from_file(example_params, tmp_path): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 463 | def test_json_file_no_overwrite(example_params, tmp_path): | CODE |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/image_testing.py | 157 | except Exception: | CODE |
| LOW | tests/makeARGB_test_data.py | 4262 | except Exception as e: | CODE |
| MEDIUM | tests/makeARGB_test_data.py | 4259 | def write_expectation_to_file(data, key, levels, lut, scale, use_rgba): | CODE |
| LOW | tests/parametertree/test_parametertypes.py | 178 | except Exception as exc: | CODE |
| LOW | pyqtgraph/functions.py | 817 | except Exception: | CODE |
| LOW | pyqtgraph/reload.py | 99 | except Exception as exc: | CODE |
| LOW | pyqtgraph/reload.py | 237 | except Exception: | CODE |
| MEDIUM | pyqtgraph/reload.py | 238 | print("Error updating reference (%s) for class change (%s -> %s)" % (safeStr(ref), safeStr(old), safeStr(new | CODE |
| LOW | pyqtgraph/reload.py | 288 | except Exception: | CODE |
| LOW | pyqtgraph/reload.py | 291 | except Exception: | CODE |
| MEDIUM | pyqtgraph/reload.py | 285 | def safeStr(obj): | CODE |
| MEDIUM | pyqtgraph/configfile.py | 89 | print(f"Error while reading config file {fname}:") | CODE |
| LOW | pyqtgraph/configfile.py | 171 | except Exception as ex: | CODE |
| LOW | pyqtgraph/configfile.py | 186 | except Exception as ex: | CODE |
| LOW | pyqtgraph/exceptionHandling.py | 102 | except Exception: | CODE |
| LOW | pyqtgraph/exceptionHandling.py | 114 | except Exception: | CODE |
| LOW | pyqtgraph/exceptionHandling.py | 124 | except Exception: | CODE |
| MEDIUM | pyqtgraph/debug.py | 115 | def w(*args, **kwargs): | CODE |
| LOW | pyqtgraph/debug.py | 1235 | except Exception: | CODE |
| LOW | pyqtgraph/debug.py | 1241 | except Exception: | CODE |
| MEDIUM | pyqtgraph/flowchart/Flowchart.py | 306 | print("Error processing node %s. Args are: %s" % (str(node), str(args))) | CODE |
| MEDIUM | pyqtgraph/flowchart/library/Data.py | 234 | print(f"Error processing node: {self.name()}") | CODE |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 110 | except Exception: | CODE |
| MEDIUM | pyqtgraph/multiprocess/remoteproxy.py | 161 | print("Error in process %s" % self.name) | CODE |
| MEDIUM | pyqtgraph/multiprocess/processes.py | 359 | print("Error occurred in forked event loop:") | CODE |
| LOW | pyqtgraph/graphicsItems/TargetItem.py | 165 | except Exception: | STRING |
| LOW | pyqtgraph/examples/MultiDataPlot.py | 54 | except Exception as e: | CODE |
| LOW⚡ | pyqtgraph/examples/console_exception_inspection.py | 39 | except Exception: | CODE |
| LOW⚡ | pyqtgraph/examples/console_exception_inspection.py | 49 | except Exception as exc: | CODE |
| LOW⚡ | pyqtgraph/examples/console_exception_inspection.py | 59 | except Exception: | CODE |
| LOW | pyqtgraph/examples/console_exception_inspection.py | 83 | except Exception: | CODE |
| LOW | pyqtgraph/parametertree/ParameterItem.py | 468 | except Exception: | CODE |
| LOW | pyqtgraph/widgets/DiffTreeWidget.py | 159 | except Exception: | CODE |
| LOW | pyqtgraph/widgets/SpinBox.py | 574 | except Exception: | CODE |
| LOW | pyqtgraph/widgets/SpinBox.py | 592 | except Exception: | CODE |
| LOW | pyqtgraph/widgets/SpinBox.py | 606 | except Exception: | CODE |
| MEDIUM | pyqtgraph/widgets/SpinBox.py | 411 | def delayedChange(self): | CODE |
| LOW | pyqtgraph/console/Console.py | 67 | except Exception as exc: | CODE |
| LOW | pyqtgraph/console/exception_widget.py | 194 | except Exception as exc: | CODE |
| LOW | pyqtgraph/console/repl_widget.py | 223 | except Exception as e: | CODE |
| LOW | pyqtgraph/console/repl_widget.py | 248 | except Exception as exc: | CODE |
| MEDIUM | pyqtgraph/opengl/GLViewWidget.py | 317 | print("Error while drawing item %s." % str(item)) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_makeARGB.py | 221 | def test_makeARGB_with_human_readable_code(): | COMMENT |
| LOW | pyqtgraph/algorithms.py | 1 | import numpy as np | COMMENT |
| LOW | pyqtgraph/algorithms.py | 601 | COMMENT | |
| LOW | pyqtgraph/units.py | 1 | # Very simple unit support: | COMMENT |
| LOW | pyqtgraph/debug.py | 201 | prefix = " "*(8-maxLen) | COMMENT |
| LOW | pyqtgraph/flowchart/library/Display.py | 281 | #'file': {'io': 'in'}, | COMMENT |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 281 | #class Parallelizer: | COMMENT |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 301 | #self.replies.append((self.i, data)) | COMMENT |
| LOW | pyqtgraph/multiprocess/parallelizer.py | 321 | #self.par.i = i | COMMENT |
| LOW | pyqtgraph/multiprocess/remoteproxy.py | 141 | #if not poll: | COMMENT |
| LOW | pyqtgraph/multiprocess/processes.py | 121 | self._stdoutForwarder = FileForwarder(self.proc.stdout, "stdout", procDebug) | COMMENT |
| LOW | pyqtgraph/exporters/SVGExporter.py | 441 | nc = fn.transformCoordinates(tr, np.array([[float(x),float(y)]]), transpose=True) | COMMENT |
| LOW | pyqtgraph/graphicsItems/LabelItem.py | 141 | #p.drawRect(self.rect()) | COMMENT |
| LOW | pyqtgraph/graphicsItems/PlotCurveItem.py | 361 | COMMENT | |
| LOW | pyqtgraph/graphicsItems/PlotCurveItem.py | 381 | #pixels = [Point(0,0), Point(0,0)] | COMMENT |
| LOW | pyqtgraph/graphicsItems/GraphicsWidget.py | 41 | COMMENT | |
| LOW | pyqtgraph/graphicsItems/__init__.py | 1 | ### just import everything from sub-modules | COMMENT |
| LOW | pyqtgraph/graphicsItems/PColorMeshItem.py | 521 | COMMENT | |
| LOW | pyqtgraph/graphicsItems/PlotDataItem.py | 1561 | else: | COMMENT |
| LOW | pyqtgraph/graphicsItems/GradientEditorItem.py | 221 | def setLength(self, newLen): | COMMENT |
| LOW | pyqtgraph/graphicsItems/GradientEditorItem.py | 261 | pos.setX(min(max(pos.x(), 0), self.length)) | COMMENT |
| LOW | pyqtgraph/graphicsItems/GradientEditorItem.py | 961 | COMMENT | |
| LOW | pyqtgraph/graphicsItems/GraphicsItem.py | 221 | ## Then we map the origin (0,0) and direction (0,1) and get: | COMMENT |
| LOW | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 1561 | range[1] = tr[1] | COMMENT |
| LOW | pyqtgraph/Qt/internals.py | 81 | # of the public API. | COMMENT |
| LOW | pyqtgraph/Qt/OpenGLHelpers.py | 41 | vp.setVersion(2, 1) | COMMENT |
| LOW | pyqtgraph/examples/SpinBox.py | 81 | spin.sigValueChanged.connect(valueChanged) | COMMENT |
| LOW | pyqtgraph/examples/SpinBox.py | 101 | #t3 = QtWidgets.QLineEdit() | COMMENT |
| LOW | pyqtgraph/examples/SpinBox.py | 121 | #def test(n=100): | COMMENT |
| LOW | pyqtgraph/examples/GLshaders.py | 61 | #th = np.arctan2(z, (x**2+y**2)**0.5) | COMMENT |
| LOW | pyqtgraph/examples/GLshaders.py | 81 | #md = gl.MeshData.MeshData(vertexes=verts) | COMMENT |
| LOW | pyqtgraph/examples/verlet_chain/relax.py | 41 | COMMENT | |
| LOW | pyqtgraph/parametertree/SystemSolver.py | 361 | # 2: s=1/60, a=4.0, iso=100 ..and so on.. | COMMENT |
| LOW | pyqtgraph/widgets/VerticalLabel.py | 1 | import warnings | COMMENT |
| LOW | pyqtgraph/widgets/LayoutWidget.py | 81 | #for i in range(self.layout.count()): | COMMENT |
| LOW | benchmarks/arrayToQPath.py | 41 | # config option entirely. | COMMENT |
| LOW | doc/source/conf.py | 1 | # | COMMENT |
| LOW | doc/source/conf.py | 141 | # |version| and |release|, also used in various other places throughout the | COMMENT |
| LOW | doc/source/conf.py | 161 | exclude_patterns = [] | COMMENT |
| LOW | doc/source/conf.py | 261 | # Add any paths that contain custom themes here, relative to this directory. | COMMENT |
| LOW | doc/source/conf.py | 441 | # If false, no index is generated. | COMMENT |
| LOW | doc/source/conf.py | 481 | ] | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/parametertree/test_Parameter.py | 176 | CODE | |
| LOW | pyqtgraph/functions.py | 693 | CODE | |
| LOW | pyqtgraph/imageview/ImageView.py | 83 | CODE | |
| LOW | pyqtgraph/imageview/ImageView.py | 256 | CODE | |
| LOW | pyqtgraph/flowchart/library/Filters.py | 69 | CODE | |
| LOW | pyqtgraph/multiprocess/processes.py | 50 | CODE | |
| LOW | pyqtgraph/graphicsItems/InfiniteLine.py | 37 | CODE | |
| LOW | pyqtgraph/graphicsItems/TextItem.py | 14 | CODE | |
| LOW | pyqtgraph/graphicsItems/ROI.py | 144 | CODE | |
| LOW | pyqtgraph/graphicsItems/LinearRegionItem.py | 36 | CODE | |
| LOW | pyqtgraph/graphicsItems/LegendItem.py | 35 | CODE | |
| LOW | pyqtgraph/graphicsItems/ColorBarItem.py | 43 | CODE | |
| LOW | pyqtgraph/graphicsItems/TargetItem.py | 25 | CODE | |
| LOW | pyqtgraph/graphicsItems/ViewBox/ViewBox.py | 111 | CODE | |
| LOW | pyqtgraph/examples/relativity/relativity.py | 287 | CODE | |
| LOW | pyqtgraph/widgets/ProgressDialog.py | 26 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pyqtgraph/opengl/items/GLGridItem.py | 0 | set the size of the box (in its local coordinate system; this does not affect the transform) arguments can be x,y,z or s | STRING |
| HIGH | pyqtgraph/opengl/items/GLAxisItem.py | 0 | set the size of the box (in its local coordinate system; this does not affect the transform) arguments can be x,y,z or s | STRING |
| HIGH | pyqtgraph/opengl/items/GLBoxItem.py | 0 | set the size of the box (in its local coordinate system; this does not affect the transform) arguments can be x,y,z or s | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyqtgraph/WidgetGroup.py | 253 | # then just call the method directly. Otherwise, pass in the widget as the first arg | COMMENT |
| LOW | pyqtgraph/WidgetGroup.py | 276 | # then just call the method directly. Otherwise, pass in the widget as the first arg | COMMENT |
| LOW | pyqtgraph/graphicsItems/HistogramLUTItem.py | 561 | # user should just call setColorMap(). | COMMENT |
| LOW | pyqtgraph/graphicsItems/PlotItem/PlotItem.py | 431 | # prevent people getting confused if they just call showGrid() | COMMENT |
| MEDIUM | pyqtgraph/examples/NonUniformImage.py | 65 | # elevate the grid lines | COMMENT |
| MEDIUM | pyqtgraph/parametertree/interactive.py | 554 | # *args is also difficult to handle for key-value paradigm | COMMENT |
| LOW | pyqtgraph/widgets/GraphicsView.py | 224 | ## easier to just return self.range ? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pyqtgraph/graphicsItems/ROI.py | 838 | ## pos is the new position of the handle in scene coords, as requested by the handle. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyqtgraph/examples/VideoSpeedTest.py | 115 | #ui.graphicsView.useOpenGL() ## buggy, but you can try it if you need extra speed. | COMMENT |
| LOW | pyqtgraph/parametertree/parameterTypes/checklist.py | 163 | # Also, value calculation will be incorrect until children are added, so make sure to recompute | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyqtgraph/graphicsItems/ImageItem.py | 783 | # Check if downsampling reduced the image size to zero due to inf values. | COMMENT |
| LOW | pyqtgraph/widgets/SpinBox.py | 78 | 'int': False, ## Set True to force value to be integer. If True, 'step' is rounded to the nearest integer or | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyqtgraph/debug.py | 1052 | The purpose of this function is to find dead objects and generate a crash | STRING |