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

Uploaded Python 3

File details

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

File metadata

  • Download URL: esch-0.0.88.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.88.tar.gz
Algorithm Hash digest
SHA256 fbc0515c2383ec0cf303a2a53571cf1b4b3a0e103947766fff12305dffd5d862
MD5 a011b27654b92abe2a5563108bf63868
BLAKE2b-256 77ef2e7c230eb6a2f21b4436b5f073844914087a56e619755854e6c86985e541

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esch-0.0.88-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.88-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d0baf44a3a8d065885b1b18394fb06c7a386a4e49ab30b3d4aa81eff320343
MD5 5cbbb299d7342296b76c4212e48c06d7
BLAKE2b-256 58b9959982213fd7785b3298bc53d1d634badc1c14505244d6367578422347ec

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