pyqtgraph-scope-plots
High-performance, feature-rich, and interactive oscilloscope-like plot widgets built in PyQtGraph. Designed with electrical and digital waveforms in mind, but generalizes to any timeseries data.
Example
This is primarily a widget library for those needing interactive plotting tools, but does include an example CSV viewer.
Once this package is installed, the example viewer can be started with
python -m pyqtgraph_scope_plots.csv
This starts with some default data (a sine wave, square wave, enum, and steps) but CSVs can be loaded through the interface. CSVs must have time on the first column and arbitrary data (numeric or strings) on other columns. Additional data from different CSV files can be appended, which will be interpreted as new columns.
All the features listed below are available.
Features
- High performance using pyqtgraph, interactive navigation up to millions of points.
- Snap-to-nearest point on hover (if zoomed in far enough).
- Show numeric values of hovered points at the same time.
- Select regions over time (created by double-clicking on the plot).
- Points-of-interest, persistent markers on the plot showing numeric values (created by shift+double-clicking on the plot).
- Statistics (min / max / average / RMS / standard deviation), over the selected region or entire data.
- Drag-and-drop from table to plot to overlay and re-order plots.
- Apply transformation functions, written as Python code (using simpleeval), to signals (using the right-click menu on the signals table).
- Apply time-shift to signals (using the right-click menu on the signals table).
Architecture
This library makes heavy use of mixins to split out functionality into mostly-independent classes.
PlotItemInteractivity Mixins: these can be mixed in to a customPlotItemto add interactivity:SnappableHoverPlot: snaps to the data point nearest the cursor, providing a visual target. The snapped point is also available for tools to build upon.LiveCursorPlot: provides a vertical line over the mouse cursor, that shows the values of all intersecting points. Uses the snapping function to snap to the nearest data point.RegionPlot: provides a user-defined region (via double-click) that shows the x-axis distance between the cursors. The region data is also available for tools to build upon.PointsOfInterestPlot: allows users to add arbitrarily many points of interest (vertical lines) that shows the values of all intersecting points.DraggableCursorPlot: allows a programmatically-initiated draggable cursor that fires a qt-signal when moved. Used as infrastructure to support time shifting signals.
EnumWaveformPlot: aPlotItemthat renders string-valued data as a waveform.MultiPlotWidget: aQSplitterwidget with multiple plots stacked vertically, with a common x-axis. These mixin classes are provided to add functionality:LinkedMultiPlotWidget: links the live cursor, region, and points of interest (from interactivity mixins) between plots.DroppableMultiPlotWidget: allows an externally-initiated drag-and-drop operation to reorganize (rearranging and combining / overlaying) plots.
SignalsTable:QTableWidgetthat lists signals and provides an extensible base for additional columns. These mixin classes are provided to add functionality:StatsSignalsTable: adds stats (like min, max, avg) per-signal, optionally over a selected x-range.DeleteableSignalsTable: adds delete-signal functionality that fires a qt-signal (and does nothing else - deletion must be handled externally).TransformsSignalTable: allows the user to set a function (using a subset of Python) on signals to transform the input data. This function has access to the x (ast) and y (asx) values of the current point as well as other signals at the same index (asdata).TimeshiftSignalTable: allows the user to shift signals in time, in coordination withDraggableCursorPlot.DraggableSignalsTable: enables initiating a drag-and-drop operation, to be dropped into some external widget.
PlotsTableWidget: combinesMultiPlotWidgetandSignalsTable(with all their mixins), linked with each other, into aQSplitter.- Provides an extension point for an optional widget on the bottom right through
_init_controls, for example to add a controls box. - The data items are first initialized with
_set_data_items(with name, color, and plot-type of each data item), then data can be updated with_set_data(as a name-to-(xs, ys) mapping).
- Provides an extension point for an optional widget on the bottom right through
Metadata
Release files for pyqtgraph-scope-plots 1.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyqtgraph_scope_plots-1.6.5.tar.gz | 84.0 kB | With provenance | Details for pyqtgraph_scope_plots-1.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyqtgraph_scope_plots-1.6.5-py3-none-any.whl | Python 3 | none | any | Details for pyqtgraph_scope_plots-1.6.5-py3-none-any.whl |
Total release size: 178.3 kB
Release files / pyqtgraph_scope_plots-1.6.5.tar.gz
| Download URL | pyqtgraph_scope_plots-1.6.5.tar.gz |
|---|---|
| Size | 84.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cd5119f0ad14fea6c07ef94d9ff145fe77c7c3ab5c759612a780c305bc8cbe7
|
|
BLAKE2b-256 checksum How to use checksums |
fef431319ec5552da530afb438a14e8f05dba569938d334bf946b3224b6bf07d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logRelease files / pyqtgraph_scope_plots-1.6.5-py3-none-any.whl
| Download URL | pyqtgraph_scope_plots-1.6.5-py3-none-any.whl |
|---|---|
| Size | 94.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbca093ae0c8e7cc1b23bf280142c363db8d6fc4d293baac861898a388a6387a
|
|
BLAKE2b-256 checksum How to use checksums |
ea92f3ec5a001fb1b3034b9875f4807c79882d464eb9247e43a34db44403b28c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logSecurity for pyqtgraph-scope-plots 1.6.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyqtgraph_scope_plots-1.6.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.