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.3.0.tar.gz (74.1 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.3.0-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for foxplot-2.3.0.tar.gz
Algorithm Hash digest
SHA256 a14a671ac038ae0ef389ed0bd1c4a2641d340290a1fc54d32558fd558bfc4d7f
MD5 115dfbcee4b5b4a2688488d31bba2db8
BLAKE2b-256 09c77785cf885dcf08b21208a0228816a86bc0bda1dd2667aefa76f7502e681c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for foxplot-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2924e916c9595487e16780b9b8de543651872958351f84f9e1fd9f65edf3ee3b
MD5 0fabda4dad225d39573f6f15d16b2244
BLAKE2b-256 72e4b632a4c126c30e118259daf86cec1b4a7e279591bf91ad8947c6933bcd03

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