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