Function ipv4_heatmap::utils::output_legend
source · [−]pub fn output_legend<P>(
filename: Option<P>,
name: &str,
invert: bool
) -> Result<()> where
P: AsRef<Path>,
Expand description
Given a filename or path and palette name (+ whether the palette should be inverted) write an SVG legend out to the specified file.