MCPcopy Create free account
hub / github.com/4bb4/implot-rs / with_reference_y

Method with_reference_y

src/plot_elements.rs:357–360  ·  view source on GitHub ↗

Set the reference y value for the stems

(mut self, reference_y: f64)

Source from the content-addressed store, hash-verified

355
356 /// Set the reference y value for the stems
357 pub fn with_reference_y(mut self, reference_y: f64) -> Self {
358 self.reference_y = reference_y;
359 self
360 }
361
362 /// Draw a previously-created stem plot. Use this in closures passed to
363 /// [`Plot::build()`](struct.Plot.html#method.build). The `axis_positions` specify where on the

Callers 1

show_basic_plotFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected