From e32a715728fe272c25009c42f780f4af47ae2380 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 16 Oct 2020 12:16:20 +0100 Subject: [PATCH] simplify --- examples/bars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bars.py b/examples/bars.py index 7c72ad43..7a007891 100644 --- a/examples/bars.py +++ b/examples/bars.py @@ -14,5 +14,5 @@ SIZE = 40 for row in range(SIZE): y = (row / SIZE) * 2 - 1 x = math.sqrt(1 - y * y) - bar = Bar(1.0, width=SIZE * 2, begin=1 - x, end=x, color="red") + bar = Bar(1, width=SIZE * 2, begin=1 - x, end=x, color="red") print(bar)