Crates.io | showata |
lib.rs | showata |
version | 0.3.2 |
source | src |
created_at | 2019-06-10 13:01:30.484087 |
updated_at | 2021-03-12 20:57:01.262209 |
description | A library of to show data (in browser, evcxr_jupyter) as table, chart... |
homepage | |
repository | https://github.com/procyon-rs/showata |
max_upload_size | |
id | 140173 |
size | 152,678 |
A library of to show data (in browser, evcxr_jupyter) as table, chart....
The crate provides display for:
Feedbacks (comments, tickets, PR,...) are welcomes.
Inside your jupyter (rust) notebook:
:dep showata = { version = "0.3", features=["show_ndarray"]}
:dep ndarray = "0.14"
use showata::Showable;
use ndarray::Array2;
let data: Array2 = Array2::<f64>::zeros((3, 4));
data.show()
Inside your favorite editor/IDE:
use showata::Showable;
use ndarray::Array2;
let data = Array2::<f64>::zeros((3, 4));
data.show().unwrap();
# By default the data will be shown inside your web browser.
cargo run
# Show nothing
SHOWATA_MEDIUM=Noop cargo run
see vega_lite_3
Currently the project groups showers as features
instead of packages. But it could change in the futures if use of package is more useful (than just "it's the recommended way in the cargo doc").
Why features (vs packages):
trait
and provide impl
for external cratesvegalite.rs
from the vega-lite's json schema