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

Method without_grid

src/plot_widget_builder.rs:337–340  ·  view source on GitHub ↗

Disable background grid lines and ticks on both axes.

(self)

Source from the content-addressed store, hash-verified

335 pub fn add_hline(mut self, hline: HLine) -> Self {
336 self.hlines.push(hline);
337 self
338 }
339
340 /// Disable background grid lines and ticks on both axes.
341 pub fn without_grid(self) -> Self {
342 self.with_x_tick_producer(|_, _, _| Vec::new())
343 .with_y_tick_producer(|_, _, _| Vec::new())

Callers 1

newMethod · 0.80

Calls 3

with_y_tick_producerMethod · 0.80
with_x_tick_producerMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected