Skip to content

Commit 3941932

Browse files
committed
fixing_line
1 parent 49648ea commit 3941932

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/lis2mdl_displayio_simpletest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@
3838
while True:
3939
# update the text of the label(s) to show the sensor readings
4040
mag_x, mag_y, mag_z = sensor.magnetic
41-
display_output_label.text = (
42-
f"X:{mag_x:10.2f}, Y:{mag_y:10.2f}, Z:{mag_z:10.2f} uT"
43-
)
41+
display_output_label.text = f"X:{mag_x:10.2f}, Y:{mag_y:10.2f}, Z:{mag_z:10.2f} uT"
4442
# wait for a bit
4543
time.sleep(0.5)

0 commit comments

Comments
 (0)