Skip to content

Commit df23352

Browse files
committed
correcting bugs
1 parent c6e548c commit df23352

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

circuitpython_uplot/ubar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
self._new_max = int(plot.transform(0, max(y), max(y), 0, max(y)))
4949

5050
bar_space = max(2, plot._width // 30)
51-
xstart = self._graphx + bar_space
51+
xstart = self._graphx + plot._newxmin
5252

5353
plot._plot_palette[plot._index_colorused] = color
5454

circuitpython_uplot/upie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class upie:
3232
"""
3333

3434
def __init__(
35-
self, plot: Uplot, data: list, x: int = 0, y: int = 0, radius: int = 50
35+
self, plot: Uplot, data: list, x: int = 0, y: int = 0, radius: int = 40
3636
) -> None:
3737
"""
3838

0 commit comments

Comments
 (0)