Skip to main content

Plot time-series data from line-delimited JSON.

Project description

foxplot

CI Documentation Coverage PyPI version

Plot time series read from MessagePack or newline-delimited JSON.

Installation

pip install foxplot

Usage

The foxplot command-line tool starts in interactive mode by default to explore the input gathered in data (tab completion works: try data.<TAB>). Plot times series using the fox.plot function, for example:

$ foxplot upkie_2023-05-03-103245.mpack
Python 3.8.10 (default, Mar 13 2023, 10:26:41)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.0.1 -- An enhanced Interactive Python. Type '?' for help.

In [1]: fox.plot(data.observation.imu.angular_velocity)

This call opens a new tab in your browser with the desired plot. In this example, angular_velocity is a 3D vector, thus the plot will include three curves.

Check out the documentation for more advanced examples, such as left and right axes or computing new series from existing ones.

See also

  • mpacklog.cpp: C++ library to log dictionaries to MessagePack files in C++.
  • mpacklog.py: command-line tool and Python library to log dictionaries from/to MessagePack files.
  • rq: command-line tool to manipulate streams of records in various formats.
  • µPlot: time-series plotting library whose performance was a key enabler for Foxplot.
  • uplot-python: Python interface to µPlot used in this project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foxplot-2.2.0.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foxplot-2.2.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file foxplot-2.2.0.tar.gz.

File metadata

  • Download URL: foxplot-2.2.0.tar.gz
  • Upload date:
  • Size: 72.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for foxplot-2.2.0.tar.gz
Algorithm Hash digest
SHA256 13c8b360c77d81a68c554145f01de2c47f9b6deece5f14bd59be5eb380af9ee5
MD5 a5c2531ada0b1c84413e269e6774876e
BLAKE2b-256 0e38aefe47b21cac047d0a3e1bf840028237272735555158ee165eb5908bc470

See more details on using hashes here.

File details

Details for the file foxplot-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: foxplot-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for foxplot-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ca944da9adba84246f23593283c26fc56abc74a9b41fd5d9ce4c0de9faef1e
MD5 1aa5ed74c127866c86673821f016f0f8
BLAKE2b-256 6c81afd475d2756c82f1e415bfc1227fa9f0d8c6c00924718e1a3ee03c3ccd83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page