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.88.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.88-py3-none-any.whl
(18.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbc0515c2383ec0cf303a2a53571cf1b4b3a0e103947766fff12305dffd5d862
|
|
| MD5 |
a011b27654b92abe2a5563108bf63868
|
|
| BLAKE2b-256 |
77ef2e7c230eb6a2f21b4436b5f073844914087a56e619755854e6c86985e541
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8d0baf44a3a8d065885b1b18394fb06c7a386a4e49ab30b3d4aa81eff320343
|
|
| MD5 |
5cbbb299d7342296b76c4212e48c06d7
|
|
| BLAKE2b-256 |
58b9959982213fd7785b3298bc53d1d634badc1c14505244d6367578422347ec
|