xl0 / lovely-tensors

Tensors, for human consumption
https://xl0.github.io/lovely-tensors
MIT License
1.11k stars 16 forks source link

Speculative: Interactive JS-driven tensor view #5

Open xl0 opened 1 year ago

xl0 commented 1 year ago

If an object defines a _repr_html_ function, its output will be interpreted as HTML that can contain JS. This could lead to some interactive tensor data viewer.

I don't have enough JS experience, time or motivation to pursue this, but if the idea inspires you, please drop a line

The python interface could be along the lines of

t.js
[interactive view , see plotly for example]