Skip to main content

matviz

PyPI Python Tests Docs License

Data visualization for scientists, made easy. Smart histograms, publication-ready plots, and data wrangling utilities.

matviz example output

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)

Source distribution for matviz 1.1.0
File Size Uploaded
matviz-1.1.0.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for matviz 1.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page