MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / view

Function view

examples/huge_scatter.rs:32–34  ·  view source on GitHub ↗
(widget: &PlotWidget)

Source from the content-addressed store, hash-verified

30}
31
32fn view(widget: &PlotWidget) -> Element<'_, Message> {
33 widget.view().map(Message::PlotMessage)
34}
35
36fn new_scatter() -> PlotWidget {
37 // Generate 5 million points from 2D Gaussian

Callers

nothing calls this directly

Calls 2

mapMethod · 0.80
viewMethod · 0.45

Tested by

no test coverage detected