Skip to content

Commit cf5d8d4

Browse files
lisanhu38
authored andcommitted
no code change, just re-formatting
1 parent 7ca6bb4 commit cf5d8d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plotters/src/evcxr.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::coord::Shift;
22
use crate::drawing::{DrawingArea, IntoDrawingArea};
3-
use plotters_svg::SVGBackend;
43
use plotters_backend::DrawingBackend;
54
use plotters_bitmap::BitMapBackend;
5+
use plotters_svg::SVGBackend;
66

77
/// The wrapper for the generated SVG
88
pub struct SVGWrapper(String, String);
@@ -71,7 +71,6 @@ pub fn evcxr_figure<
7171
// }
7272
// }
7373

74-
7574
/// Start drawing an evcxr figure
7675
#[cfg(all(feature = "evcxr", feature = "bitmap_backend"))]
7776
pub fn evcxr_bitmap_figure<
@@ -88,8 +87,9 @@ pub fn evcxr_bitmap_figure<
8887
let mut buffer = "".to_string();
8988
{
9089
let mut svg_root = SVGBackend::with_string(&mut buffer, size);
91-
svg_root.blit_bitmap((0, 0), size, &buf).expect("Failure converting to SVG");
90+
svg_root
91+
.blit_bitmap((0, 0), size, &buf)
92+
.expect("Failure converting to SVG");
9293
}
9394
SVGWrapper(buffer.clone(), "".to_string())
9495
}
95-

0 commit comments

Comments
 (0)