Skip to content

Commit 7a6bc24

Browse files
committed
use plus between f-strings
1 parent fe5de40 commit 7a6bc24

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

adafruit_displayio_layout/widgets/cartesian.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,15 +479,14 @@ def _add_point(self, x: int, y: int) -> None:
479479
print("")
480480
print(
481481
f"xy: ({x: >4}, {y: >4}) "
482-
f"_xrange: ({self._xrange[0]: >4}, {self._xrange[1]: >4}) "
483-
f"_yrange: ({self._yrange[0]: >4}, {self._yrange[1]: >4}) "
482+
+ f"_xrange: ({self._xrange[0]: >4}, {self._xrange[1]: >4}) "
483+
+ f"_yrange: ({self._yrange[0]: >4}, {self._yrange[1]: >4}) "
484484
""
485485
)
486486
print(
487487
f"local_*: ({local_x: >4}, {local_y: >4}) "
488-
f" width: ({0: >4}, {self.width: >4}) "
489-
f" height: ({0: >4}, {self.height: >4}) "
490-
""
488+
+ f" width: ({0: >4}, {self.width: >4}) "
489+
+ f" height: ({0: >4}, {self.height: >4}) "
491490
)
492491
if self._check_xy_in_range(x, y):
493492
if self._check_local_xy_in_range(local_x, local_y):

0 commit comments

Comments
 (0)