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.86.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.86-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esch-0.0.86.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.86.tar.gz
Algorithm Hash digest
SHA256 ad7272d3fa50ead2ef106d4fce93a2fa9b6f92d83fc1e4608393bbe7ba2cd8bd
MD5 b211cd7fe52b2ec9165c88ecdcb0ceef
BLAKE2b-256 9dec96a674b6de2f0810c309e3508ce9db9f7afb367537704a7c9d9a4bfb0ec5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esch-0.0.86-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.86-py3-none-any.whl
Algorithm Hash digest
SHA256 318f55053c14b2248be46ec1d3f8913dcbf82c446e483f965fc254f5b25bab8a
MD5 ca079edac94a8bd1ef8abafa6bfc654d
BLAKE2b-256 50aa9d00deab2bc5d5233fda34c02361e9b060ad25e081b70f78ed6172fce95e

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