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

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.2
File Size Uploaded Provenance Actions
matviz-1.0.2.tar.gz 1.5 MB Without provenance Details for matviz-1.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / matviz-1.0.2.tar.gz

Download URL matviz-1.0.2.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f104177d5c01ea034f3202efbe8f4fd1e9ba99b0f4785fde3822e9d2a5eba2fa
BLAKE2b-256 checksum
How to use checksums
3e18eeca701c8637f934222641997e1b665df7aeff7dcf96109dd57350771d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / matviz-1.0.2-py3-none-any.whl

Download URL matviz-1.0.2-py3-none-any.whl
Size 45.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58408a5d53a878498a5cd01718eb10068b8cd654996dbd6f365d50c746008c2e
BLAKE2b-256 checksum
How to use checksums
e3ae70b2172eb1eb23d84caca165fa56c9d56130f803f9bb53230dd29fcabafa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for matviz 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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