Skip to main content

matviz: matrix data visualization

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

matviz-1.0.5.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

matviz-1.0.5-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file matviz-1.0.5.tar.gz.

File metadata

  • Download URL: matviz-1.0.5.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for matviz-1.0.5.tar.gz
Algorithm Hash digest
SHA256 59bf8897fbf72a1f00cd9ee312b9b0b89113798133054fc741a1d75f35bb3b9a
MD5 f5c929bc2ae7d18fbd2180e1956cb2e5
BLAKE2b-256 8adcde454d3bfd93cd4a1c347e8b9823237532ce25016d5d7331dfa9c8a69936

See more details on using hashes here.

File details

Details for the file matviz-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: matviz-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for matviz-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e6b9d02fcd6eb655cb5f54cef914b54a9cea6257e5ca55cb29ba7ef27d7c858f
MD5 0cd3ee89bacbf42b3ef941be6aa9a668
BLAKE2b-256 005c5e1fa70fa6e3b898fe8a6eae1c09b9356b13f783feaa97b13cbdff668693

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page