From cdb432e679a9999ed8da9819027bdc056633aa4a Mon Sep 17 00:00:00 2001 From: AKORA <65976562+A-K-O-R-A@users.noreply.github.com> Date: Fri, 13 Sep 2024 10:45:58 +0200 Subject: [PATCH] Fix backend example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b99908c1..85c0a30e 100644 --- a/README.md +++ b/README.md @@ -327,7 +327,7 @@ fn main() -> Result<(), Box> { // Create a 800*600 bitmap and start drawing let mut backend = BitMapBackend::new("plotters-doc-data/1.png", (300, 200)); // And if we want SVG backend - // let backend = SVGBackend::new("output.svg", (800, 600)); + // let mut backend = SVGBackend::new("output.svg", (800, 600)); backend.draw_rect((50, 50), (200, 150), &RED, true)?; backend.present()?; Ok(())