Crates.io | gguppy |
lib.rs | gguppy |
version | 0.1.0 |
source | src |
created_at | 2024-02-23 01:56:41.101656 |
updated_at | 2024-02-23 01:56:41.101656 |
description | A multi-platform plotting library based on the grammar of graphics implemented in pure Rust with a no_std feature. |
homepage | https://github.com/alwinw/arwggplot |
repository | https://github.com/alwinw/arwggplot |
max_upload_size | |
id | 1149970 |
size | 156,284 |
gguppy is a multi-platform plotting library based on the grammar of graphics implemented in pure Rust with a no_std feature. Write once, plot anywhere.
Rust is strange for python and R users. gguppy aims to provide a familiar, friendly and ergonomic syntax. You can even write in different coding styles.
Grammar of graphics is a first class citizen in gguppy:
use gguppy::prelude::*
df = minidf!["x" => &[1, 2, 3], "y" => &[4, 5, 6]]
plot = ggplot![df, aes("x", "y")] + geom_point![]
A MATLAB/matplotlib-esque syntax will also be supported.
gguppy aims to allow you to write once, plot anywhere using its flexible and extensible architecture.
Crates
๐ ๏ธ gguppy_core
no_std
RustGGData
traitGGCapable
traitDrawablePrim
trait๐ ๏ธ gguppy_data
minidf
plottable by gguppy
in no_std
Rustarrow
and arrow2
polars
, pandas
, and more๐ ๏ธ arwggplot
gguppy
in no_std
RustModule Layout
mod
and re-export
use
statements for the entire libraryBoard (dashboard, drawing board, canvas, etc.) := matplotlib figure
, ggplot2 plot
Chart := matplotlib axes
/ subplot
Panel := ggplot2 panel
/ facet
Grammar of Graphics
Rust drawing library
SVG composing and rendering
Text rendering
Mathematical functions