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.0.8
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.0.8.tar.gz | 2.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| matviz-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.9 MB
Release files / matviz-1.0.8.tar.gz
| Download URL | matviz-1.0.8.tar.gz |
|---|---|
| Size | 2.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cea48837305e25fc963f7c58f3b1f7b6e9652898084061392ba4dc241cf84266
|
|
BLAKE2b-256 checksum How to use checksums |
875612d3ee88960aa87c1b6b765508c013de66758563253fad842ff44d989d79
|
| 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.0.8-py3-none-any.whl
| Download URL | matviz-1.0.8-py3-none-any.whl |
|---|---|
| Size | 61.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd63acc4c2dfa51ed32035eb2bbe6ca0da5f0bc55efd181afb5ba2b8e589499c
|
|
BLAKE2b-256 checksum How to use checksums |
9663d0626515d80f12ff1899f54c701d13d434cd1f98977a625bbc8ce8f4db6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|