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.