Skip to content

Commit

Permalink
Merge pull request #638 from A-K-O-R-A/patch-1
Browse files Browse the repository at this point in the history
Fix backend example in README
  • Loading branch information
AaronErhardt authored Sep 16, 2024
2 parents 190115d + cdb432e commit 35aad81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// 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(())
Expand Down

0 comments on commit 35aad81

Please sign in to comment.