use crate::chart::Chart;
use crate::mark::boxplot::MarkBoxplot;
impl Chart<MarkBoxplot> {
pub fn configure_boxplot<F>(mut self, f: F) -> Self
where
F: FnOnce(MarkBoxplot) -> MarkBoxplot,
{
let mark = self.mark.take().unwrap_or_default();
self.mark = Some(f(mark));
self
}
}