MCPcopy Index your code
hub / github.com/donkeyteethUX/iced_plot

github.com/donkeyteethUX/iced_plot @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
716 symbols 1,760 edges 42 files 239 documented · 33% updated 8d ago★ 72
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Crates.io Documentation

A batteries-included GPU-accelerated plotting widget for Iced.

Features

  • Works with large datasets (up to millions of points)
  • Retains GPU buffers between frames for fast redraws and picking
  • Axes/labels, legends, reference lines, tooltips, crosshairs, axis linking, styling, etc.

Quick start

use iced_plot::{Color, PlotWidgetBuilder, Series};

let series = Series::circles((0..100).map(|i| [i as f64, i as f64]).collect(), 2.0)
    .with_color(Color::from_rgb(0.2, 0.6, 1.0))
    .with_label("points");

PlotWidgetBuilder::new()
    .with_x_label("x")
    .with_y_label("y")
    .add_series(series)
    .build()
    .unwrap();

See the examples/ directory for more.

iced_plot

Wasm support

Iced plot works in WebGPU-enabled browsers. The examples can be served with trunk:

$ trunk serve examples/index.html --example custom_ticks

Core symbols most depended-on inside this repo

new
called by 259
examples/fills.rs
map
called by 61
src/plot_overlay.rs
with_color
called by 57
src/fill.rs
with_label
called by 54
src/fill.rs
is_empty
called by 44
src/plot_renderer/shader.rs
get
called by 42
src/axis_link.rs
add_series
called by 41
src/plot_widget.rs
with_alpha
called by 25
examples/themes_and_styles.rs

Shape

Method 415
Function 196
Class 73
Enum 32

Languages

Rust100%

Modules by API surface

src/plot_widget.rs108 symbols
src/plot_state.rs64 symbols
src/plot_renderer/shader.rs57 symbols
src/series.rs50 symbols
src/controls.rs48 symbols
src/plot_widget_builder.rs39 symbols
src/picking.rs31 symbols
src/transform.rs29 symbols
src/plot_overlay.rs26 symbols
src/plot_renderer/canvas.rs20 symbols
examples/themes_and_styles.rs20 symbols
examples/plot_overlays.rs16 symbols

For agents

$ claude mcp add iced_plot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact