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 details)
Built Distribution
File details
Details for the file autoformat-1.0.0.tar.gz
.
File metadata
- Download URL: autoformat-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 662db875959eb01da57430621fdb79887d5d6bfb4d76a3d07b0dbd881070c8da |
|
MD5 | 8e00b402a92337048fcd5b8ad54e2ea0 |
|
BLAKE2b-256 | f1c2e132ae9c06d829dd868e423a8080d1b10c525dbd10d81aaa77c81660a6ae |
File details
Details for the file autoformat-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: autoformat-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f71a1ce6b150ff46602f2d381626006cd475b3816d3ac68621d972203a3def5 |
|
MD5 | fb578a0b4390f2e0754ca80546764288 |
|
BLAKE2b-256 | 0771380ea66db324c9d6d150015654a5b878ff8359924acdf26c5a10db058953 |