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

Method show

egui_plot/src/plot.rs:809–811  ·  view source on GitHub ↗

Interact with and add items to the plot and finally draw it.

(self, ui: &mut Ui, build_fn: impl FnOnce(&mut PlotUi<'a>) -> R + 'a)

Source from the content-addressed store, hash-verified

807
808 /// Interact with and add items to the plot and finally draw it.
809 pub fn show<R>(self, ui: &mut Ui, build_fn: impl FnOnce(&mut PlotUi<'a>) -> R + 'a) -> PlotResponse<R> {
810 self.show_dyn(ui, Box::new(build_fn))
811 }
812
813 /// Calculate the rect inside which everything will be drawn.
814 fn calculate_widget_complete_rect(&self, ui: &Ui) -> Rect {

Callers 15

show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_controlsMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80

Calls 1

show_dynMethod · 0.80

Tested by 1

auto_bounds_trueFunction · 0.64