Skip to main content

Plot time-series data from line-delimited JSON.

Project description

foxplot

Build Documentation Coverage PyPI version

Manipulate 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: library to log dictionaries to MessagePack files in C++.
  • mpacklog.py: library and command-line tools to log dictionaries to MessagePack files in Python.
  • rq: command-line tool to manipulate streams of records in various formats.
  • uplot-python: plotting backend used in this project.
  • µPlot: time-series plotting library, whose performance was a key enabler for 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.1.0.tar.gz (68.8 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.1.0-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for foxplot-2.1.0.tar.gz
Algorithm Hash digest
SHA256 b32c8971831fc8c0291b73d12f879a2dadf472a65e727f1c212e27403842a01c
MD5 6bf19594c2d3cc33561956ddf72898ec
BLAKE2b-256 5669fd0a03631ad1054a9fd763a1c67d7a54aba6da151129c2a49a6ef54bb3e2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for foxplot-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94138edc493c088a5d62875e75ba39766d0c4651963e1d677ee54a01057c65d0
MD5 3d88b8bff4cd794af5f109aa4b5c436a
BLAKE2b-256 44f3f5653fa0365aca06933bf37e23f122ba373c6994c26f5beb12fa4f6a903e

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