Automatic, range-aware formatting of time-axis labels for timeseries data using matplotlib.
Project description
autoformat
Automatic, range-aware formatting of time-axis labels for timeseries data using matplotlib.
This package is supported for Python 3 only. This project works for time ranges on the order of milliseconds or millenia, and produces a decent-looking result with a few lines:
from autoformat import autoformat
autoformat.scale(start_date, end_date)
# your matplotlib plotting code here
Installation
pip install autoformat
Project github link
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
autoformat-1.0.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for autoformat-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f71a1ce6b150ff46602f2d381626006cd475b3816d3ac68621d972203a3def5 |
|
MD5 | fb578a0b4390f2e0754ca80546764288 |
|
BLAKE2b-256 | 0771380ea66db324c9d6d150015654a5b878ff8359924acdf26c5a10db058953 |