Skip to content

Commit f0e887a

Browse files
authored
Update README.md
fix demo code compile warning
1 parent 53cda8a commit f0e887a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ extern crate plotters;
226226
use plotters::prelude::*;
227227
228228
let figure = evcxr_figure((640, 480), |root| {
229-
root.fill(&WHITE);
229+
root.fill(&WHITE)?;
230230
let mut chart = ChartBuilder::on(&root)
231231
.caption("y=x^2", ("Arial", 50).into_font())
232232
.margin(5)

0 commit comments

Comments
 (0)