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:
- sims stuff variable pos.
- Default font size to 12pt across sizes
- Add mesh plot for
- Known issue is that for animation, fill is determined by first value (and will thus not flip if sign changes during animation).
- Logic to infer if we have animation is dump. Assumes one dim is 20x times another. Many times that is not the case
- Minimise svg size with rounded floats.
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
esch-0.0.86-py3-none-any.whl
(18.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad7272d3fa50ead2ef106d4fce93a2fa9b6f92d83fc1e4608393bbe7ba2cd8bd
|
|
| MD5 |
b211cd7fe52b2ec9165c88ecdcb0ceef
|
|
| BLAKE2b-256 |
9dec96a674b6de2f0810c309e3508ce9db9f7afb367537704a7c9d9a4bfb0ec5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318f55053c14b2248be46ec1d3f8913dcbf82c446e483f965fc254f5b25bab8a
|
|
| MD5 |
ca079edac94a8bd1ef8abafa6bfc654d
|
|
| BLAKE2b-256 |
50aa9d00deab2bc5d5233fda34c02361e9b060ad25e081b70f78ed6172fce95e
|