MCPcopy Create free account
hub / github.com/emilk/egui_plot / bounds_min

Method bounds_min

egui_plot/src/items/box_plot.rs:412–416  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

410 }
411
412 fn bounds_min(&self) -> PlotPoint {
413 let argument = self.argument - self.box_width.max(self.whisker_width) / 2.0;
414 let value = self.spread.lower_whisker;
415 self.point_at(argument, value)
416 }
417
418 fn bounds_max(&self) -> PlotPoint {
419 let argument = self.argument + self.box_width.max(self.whisker_width) / 2.0;

Callers 2

find_closest_rectFunction · 0.45
boundsMethod · 0.45

Calls 2

maxMethod · 0.80
point_atMethod · 0.80

Tested by

no test coverage detected