#debugging #view #extension #vs #show #window #visualize

visualizer

Connects to the visualizer CLI to show a visualization in a new window for supported values

2 releases

0.1.1 Mar 27, 2021
0.1.0 Mar 27, 2021

#312 in Visualization

49 downloads per month
Used in 2 crates (via image-visualizer)

MIT license

9KB
205 lines

Visualizer

A crate to visualize data. Requires the crate visualizer-cli to be installed globally.

Based on @hediet/visualization which also powers the Debug Visualizer extension for VS Code.

Installation

cargo install visualizer-cli
cargo add visualizer

Example

use visualizer::{view, visualizations};

fn main() {
    view!(&visualizations::Plotly::of_y(&vec![
        1.0, 2.0, 4.0, 9.0, 16.0
    ]));
}

Creates That Provide Visualizations

  • image-visualizer: Provides visualizations for images from the image crate.

Dependencies

~1–1.8MB
~39K SLoC