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

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.8
File Size Uploaded
matviz-1.0.8.tar.gz 2.9 MB Details

Built distribution (wheel)

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

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.8 This release

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