MCPcopy Index your code
hub / github.com/emilk/egui_plot

github.com/emilk/egui_plot @0.36.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.36.0 ↗ · + Follow
816 symbols 1,638 edges 93 files 119 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

egui_plot

github Latest version Documentation unsafe forbidden MIT Apache Discord

Immediate mode 2D plotting library for egui.

egui_plot_white

Try the web demo gallery.

Testing

  • Locally: cargo run -p demo
  • Web: (cd demo && trunk serve)

Plotting libraries in Rust

To view a list of plotting libraries in Rust, see notes on Rust plotting ecosystem.

Contributing

Please see CONTRIBUTING.md and WELCOME_CONTRIBUTIONS.md

History

This crate was originally hosted at https://github.com/emilk/egui but was extracted into its own repository on 2024-07-15.

Extension points exported contracts — how you extend this code

PlotExample (Interface)
Trait for examples that can be displayed in the demo gallery. [18 implementers]
examples_utils/src/lib.rs
PlotItem (Interface)
Trait shared by things that can be drawn in the plot. [13 implementers]
egui_plot/src/items/mod.rs
RectElement (Interface)
Trait that abstracts from rectangular 'Value'-like elements, such as bars or boxes [2 implementers]
egui_plot/src/rect_elem.rs

Core symbols most depended-on inside this repo

label
called by 33
egui_plot/src/axis.rs
show
called by 31
egui_plot/src/plot.rs
position_from_point
called by 30
egui_plot/src/axis.rs
horizontal
called by 30
egui_plot/src/items/box_plot.rs
add
called by 28
egui_plot/src/plot.rs
size
called by 26
egui_plot/src/items/heatmap.rs
line
called by 25
egui_plot/src/plot.rs
max
called by 24
egui_plot/src/bounds.rs

Shape

Method 687
Class 60
Function 51
Enum 15
Interface 3

Languages

Rust97%
Python3%

Modules by API surface

egui_plot/src/plot.rs111 symbols
egui_plot/src/bounds.rs45 symbols
egui_plot/src/axis.rs37 symbols
egui_plot/src/items/bar_chart.rs33 symbols
egui_plot/src/items/box_plot.rs32 symbols
egui_plot/src/items/heatmap.rs28 symbols
egui_plot/src/items/span.rs25 symbols
egui_plot/src/overlays/legend.rs20 symbols
egui_plot/src/items/series.rs20 symbols
egui_plot/src/items/line.rs19 symbols
egui_plot/src/items/polygon.rs17 symbols
egui_plot/src/items/points.rs17 symbols

For agents

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

⬇ download graph artifact