Skip to main content

esch (v.) : to turn matricies into high quality svg (animations)

Project description

esch

esch is a layered visualization library, supporting SVG animation.

import esch
import numpy as np

x = np.random.randn((3, 100, 100))  # <- init data
e = esch.init(x.shape)              # <- make a plot object with shape (small_multiples x height x width)
e = esch.tile(e, x)                 # <- add data to the e object

esch is best used by making a function constructuor

def tile_fn(x):
    return esch.tile(esch.init(x.shape), x)

TODO:

  1. sims stuff variable pos.
  2. Default font size to 12pt across sizes
  3. Add mesh plot for
  4. Known issue is that for animation, fill is determined by first value (and will thus not flip if sign changes during animation).
  5. Logic to infer if we have animation is dump. Assumes one dim is 20x times another. Many times that is not the case
  6. Minimise svg size with rounded floats.

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

esch-0.0.87.tar.gz (183.8 kB view details)

Uploaded Source

Built Distribution

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

esch-0.0.87-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file esch-0.0.87.tar.gz.

File metadata

  • Download URL: esch-0.0.87.tar.gz
  • Upload date:
  • Size: 183.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for esch-0.0.87.tar.gz
Algorithm Hash digest
SHA256 c73095e6c0db2851601e9db4f93b27b799cfb96483893dd5fdcda055a29eb3d8
MD5 87e3f24e2382a37e7080ba37accbfce3
BLAKE2b-256 441c228c835eb07f3e2d653e7eb4bbbb0aff4f463112f271f6e4c617f67cd5c4

See more details on using hashes here.

File details

Details for the file esch-0.0.87-py3-none-any.whl.

File metadata

  • Download URL: esch-0.0.87-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for esch-0.0.87-py3-none-any.whl
Algorithm Hash digest
SHA256 416d9f06ba117a784e71e95c63ac74db870cac1e441148b40a2d780a05e49b15
MD5 ba7fd2f82b18ccd2eb7344e3b359ad22
BLAKE2b-256 b2a1d5f5c4e4bb3c5586c352a344e87164acb31784915a625a2040a3399d0807

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