Plot time-series data from line-delimited JSON.
Project description
foxplot
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file foxplot-1.0.0.tar.gz
.
File metadata
- Download URL: foxplot-1.0.0.tar.gz
- Upload date:
- Size: 43.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b864426003a6d9e78eebf1a17e6f0e2c56e0e0578d6a7cdd2aa4baa779398cfb |
|
MD5 | 2a67e912e7b4aea1f6ae07e2f692dd5c |
|
BLAKE2b-256 | d36dbe4da3abf1764c644bd381b8ab644d42cdd84b73e3f1968439de74064a4c |
File details
Details for the file foxplot-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: foxplot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 872744e967c5cc667473110799b71c2df3556c14431e4698a86f42de7fd8e550 |
|
MD5 | 0b90c6ce5a46878a8ef9477e23553ee7 |
|
BLAKE2b-256 | 991707808c5568ff421a2acf17350564a737f98a4f60616b9bb22239aa99d2cc |