Skip to main content

TouCAN-Plot Icon TouCAN-Plot

An interactive PySide6 + Matplotlib plotting tool for CSV, SMV, and CAN bus log files.

Python License

Features

Supported File Formats

Format Description
.csv / .smv Comma or semicolon delimited data (auto-detected)
.mf4 / .mf4z ASAM MDF v4 measurement data (via asammdf)
.blf CAN bus binary log
.trc CAN bus trace log
.asc CAN bus ASCII log
.dbc CAN database for signal decoding (required with BLF/TRC/ASC)
  • Auto-detects Time / timestamp columns as the default X axis
  • Opening or merging a CAN log without DBC files prompts you to select one or more DBC files, or reuse those from the previous CAN log in the current session
  • CAN signals are named as Message.Signal and plotted at their own receive timestamps; markers represent decoded samples
  • When a message appears on more than one CAN channel, each channel gets its own signals, named CH<channel>.Message.Signal
  • CAN expressions use a shared, forward-filled timeline to align signals for calculations
  • Loading or merging a CAN log opens a statistics window with duration, frame counts, decoding results, and errors

Plot Interaction

  • Shared X axis across all subplots with linked panning and zooming
  • Loading files fits X and every Y axis to the plotted data, including when saved plot settings are restored
  • Secondary Y axis support per series
  • Double-click a subplot to edit its series, or right-click for a context menu
  • Measure cursors — two draggable vertical cursors with signal differences (Δ), time differences (Δt), and their reciprocal (1/Δt); non-time X axes show Δx and 1/Δx
  • Expression evaluator — create computed series from math expressions (e.g. sin("series_A") + "series_B" * 2)
  • Multi-file merge — overlay series from different files, each in its own tab
  • X axis switching — reassign the X column without losing subplot configuration
  • Per-series properties (label, color, linewidth, linestyle, marker) persisted across all redraws
  • Live mouse coordinates in the status bar

Toolbar

Button Action
Home Auto-fit all axes
Back / Forward Navigate view history
Pan Pan mode
Zoom Zoom rectangle mode
Customize Matplotlib per-curve property editor
Save Export figure to file
Add subplot Open the series selector
Fit Y Auto-fit Y axis keeping current X range
Measure Toggle measure cursors
X axis Select X axis column
Theme Toggle dark/light theme (top right)

Menus

  • File → Open (Ctrl+O) — open one or more files (multi-select)
  • File → Merge (Ctrl+M) — append files to the current session
  • Style → Customize plot style — preset, line mode, marker, text size, grid, legend
  • Style → Theme — Dark / Light (canvas, axes, legends, palettes, and icons follow the theme)

Right-Click Context Menu

  • Add subplot above / below
  • Delete subplot
  • Legend: show/hide, position (14 options), orientation, text size
  • Line style: plot / step

Style Presets

Changing a preset or theme reapplies its color palette to all plotted series in every subplot. Dark mode uses brighter palettes, including when restoring saved plot settings.

Four built-in presets: Default, Style 1, IEEE, Other.

Installation

Install the released package from PyPI:

pip install toucan-plot

Usage

# Open a CSV file
toucan-plot data.csv

# Open an MF4 measurement file
toucan-plot recording.mf4

# Open a CAN log with DBC decoding
toucan-plot recording.blf signals.dbc

# Open multiple files (merge mode)
toucan-plot file1.csv file2.csv

# Launch without files
toucan-plot

Requirements

  • Python ≥ 3.13
  • PySide6
  • Matplotlib
  • NumPy
  • pyqtdarktheme
  • SciencePlots
  • python-can (for CAN log files)
  • cantools (for DBC decoding)
  • asammdf (for MF4 files)

License

MIT

Metadata

Release files for toucan-plot 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toucan-plot 0.7.3
File Size Uploaded Provenance Actions
toucan_plot-0.7.3.tar.gz 844.8 kB Without provenance Details for toucan_plot-0.7.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toucan-plot 0.7.3
File Interpreter ABI Platform Actions
toucan_plot-0.7.3-py3-none-any.whl Python 3 none any Details for toucan_plot-0.7.3-py3-none-any.whl

Total release size: 1.7 MB

Release files / toucan_plot-0.7.3.tar.gz

Download URL toucan_plot-0.7.3.tar.gz
Size 844.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bdd900189a1a2dffdab6a4da6440df78db883d296c98d12f0a10d5a93be10b2b
BLAKE2b-256 checksum
How to use checksums
129bd30b8aa2690951a8803a23c6d245c7de4e515e06087e5174313e2d031dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / toucan_plot-0.7.3-py3-none-any.whl

Download URL toucan_plot-0.7.3-py3-none-any.whl
Size 851.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d1c490fa8bf601b324222c13b80e3b8db87b75bbe58ac9f57c3eb5c5d1dcec0
BLAKE2b-256 checksum
How to use checksums
f8d9eaa2a935447510e177c6ed5629f064bed097cd0e95a257830e64a5652f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for toucan-plot 0.7.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page