Expand description
Error bar chart builder methods.
This module extends ErrorBarArtist with a fluent API for configuring
error bar properties. Since Axes::errorbar returns
Result<ErrorBarArtist>, these builder methods can be chained
directly on the return value:
ⓘ
let eb = ax.errorbar(&x, &y)?
.yerr_symmetric(&errs)
.cap_size(5.0)
.line_width(1.5)
.color(Color::TAB_RED)
.label("Measurements");
ax.add_errorbar(eb);