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.0.7

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.0.7
File Size Uploaded
matviz-1.0.7.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for matviz 1.0.7
File Interpreter ABI Platform
matviz-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / matviz-1.0.7.tar.gz

Download URL matviz-1.0.7.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
03ef6a20d570d9370f0ba051acef0c4551341cdd712b64d0b9e5346effe7abdc
BLAKE2b-256 checksum
How to use checksums
5e03107085b903b02b473e2ad421f2731c76eb330a9d83a46319dd9ed9933bc9
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.7-py3-none-any.whl

Download URL matviz-1.0.7-py3-none-any.whl
Size 55.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15006c15eefa02781dd87c9e49e911156b60678147e0803d897badcc9cdddca8
BLAKE2b-256 checksum
How to use checksums
28a1c749c1e80f2e55b4def83e56a536eadeacc9e7e10ee4ac513b6d9fc9c211
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

1.1.0

2 release files

1.0.8

2 release files

This release

1.0.7 This release

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