From 9f20eea291d15b21e7ec8a6ab35e478a48b2b90d Mon Sep 17 00:00:00 2001 From: Patrick Amrein Date: Fri, 7 Aug 2020 08:12:09 +0200 Subject: [PATCH] make to_svg public https://github.com/askanium/rustplotlib/issues/1 --- src/chart.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart.rs b/src/chart.rs index 724a650..4688472 100644 --- a/src/chart.rs +++ b/src/chart.rs @@ -273,7 +273,7 @@ impl<'a> Chart<'a> { } /// Generate the SVG for the chart and its components. - fn to_svg(&self) -> Result { + pub fn to_svg(&self) -> Result { let mut group = Group::new() .set("class", "g-chart");