QCoDeS-Plotter, or qPlot, is a PyQt-based data viewer for QCoDeS databases. It is designed for inspecting completed and running experiments, with live refresh, line plots, heatmaps, 1D cut extraction, CSV export, and simple data operations.
QCoDeS-Plotter requires Python 3.11 or newer.
Runtime dependencies are declared in pyproject.toml and are installed
automatically when qPlot is installed.
Install qPlot inside a Python 3.11 or newer virtual environment:
The commands below install the latest full release, 1.4.0. Prereleases are
listed on the GitHub releases page but are not used for the default install.
Windows:
py -3 --version
py -3 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -U pip
python -m pip install git+https://github.com/lairdgrouplancaster/QCoDeS-Plotter.git@v1.4.0macOS:
python3 --version
python3 -m venv .venv-mac
source .venv-mac/bin/activate
python -m pip install -U pip
python -m pip install git+https://github.com/lairdgrouplancaster/QCoDeS-Plotter.git@v1.4.0If the version check reports Python 3.10 or older, install Python 3.11 or newer
first and use that launcher instead, for example python3.12 on macOS.
Virtual environments are not portable between Windows and macOS. If the checkout is synced between operating systems, make sure VS Code is using the interpreter for the current system:
- Windows:
.\.venv\Scripts\python.exe - macOS:
./.venv-mac/bin/python
Check the install:
qplot-cfg -info
python -c "import qplot; print(qplot.__file__)"For editable development installs, see CONTRIBUTING.md.
Start the app from an activated virtual environment:
qplotTo open a database directly:
qplot path/to/database.dbFor file-manager Open With and double-click setup, see
Opening Databases from the File Manager.
You can also run:
python -m qplotor start it from Python:
import qplot
qplot.run()- Open qPlot.
- Drag a QCoDeS
.dbfile onto the database path field, or useFile -> Load Database.... - Select a run in the run table.
- Plot a measurement by double-clicking its preview, using the run-table context menu, or entering a run ID and measurement number at the top of the window.
Plot windows may appear before their data has finished loading. Check the status bar at the bottom of the plot window before assuming a load has failed.
For detailed workflows, plot controls, live data behavior, operations, CSV export, and keyboard shortcuts, see docs/user-guide.md.
For setup and runtime problems, see docs/troubleshooting.md.
For release history, see CHANGELOG.md.
On first run, qPlot creates:
~/.qplot/config.json
Useful commands:
qplot-cfg -info
qplot-cfg -version
qplot-cfg -dump
qplot-cfg -find user_preference.theme
qplot-cfg -set_value user_preference.theme dark
qplot-cfg -resetFor all config keys, defaults, validation rules, and contributor notes, see docs/configuration.md.
For development setup, test commands, and contribution workflow, see CONTRIBUTING.md.
For a short map of the codebase, see docs/architecture.md.
For demo data and screenshot workflow notes, see docs/demo-data.md.
For release and packaging notes, see docs/distribution.md.
Local development helper scripts are documented in scripts/README.md.