matviz
Data visualization for scientists, made easy. Smart histograms, publication-ready plots, and data wrangling utilities.
Installation
pip install matviz
Quick start
from matviz.helpers import *
# Compare distributions with automatic binning
data = {'Control': np.random.randn(10000), 'Treatment': np.random.randn(5000) + 1}
nhist(data)
# 2D histogram from complex numbers
z = (5 + np.random.randn(1000)) * np.exp(1j * np.random.randn(1000))
ndhist(z, smooth=1)
Modules
| Module | Description |
|---|---|
histogram_utils |
Smart 1D (nhist) and 2D (ndhist) histograms with automatic binning |
viz |
Plot ranges, streamgraphs, log-fitting, polar grids, complex plots, nicefy |
etl |
nan_smooth, cross-correlation, JSON with complex numbers, time utilities |
cbrt_scale |
Cube-root axis scale for matplotlib |
circle_utils |
Smallest enclosing circle and convex hull area |
datetime_converter |
Reversible timestamp codec (DateCodec) |
doctools |
PDF image extraction and compression |
helpers |
MATLAB-like environment with all imports |
Documentation
Full documentation at matviz.readthedocs.io.
License
BSD-3-Clause
Metadata
Release files for matviz 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| matviz-1.1.0.tar.gz | 2.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matviz-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 MB
Release files / matviz-1.1.0.tar.gz
| Download URL | matviz-1.1.0.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bc7d562c4a90859c21b8278082cbd3e8f6b25ac5b1fe71ed24a80863eb9cecf
|
|
BLAKE2b-256 checksum How to use checksums |
1eed4d1d1ec0ec021a5348aead2ba541873ab7c03c8b2f641e3ede20a28d37c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / matviz-1.1.0-py3-none-any.whl
| Download URL | matviz-1.1.0-py3-none-any.whl |
|---|---|
| Size | 67.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f97b204b234e291886d38572b65556216cabe0164325cd56eaa8e5114f18c3ae
|
|
BLAKE2b-256 checksum How to use checksums |
48b715ada3c2f32277549536ce3a0c683234273a5cb47235871cddf03ed97dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|