style(examples) fix style issues in Python examples (#2880)

Removes all semicolons at line endings in the Python examples.
This commit is contained in:
ckielstra
2021-12-05 14:41:17 +01:00
committed by GitHub
parent 0b91b6c42f
commit a5058eafd0
47 changed files with 85 additions and 99 deletions

View File

@@ -25,8 +25,8 @@ img_cogwheel_argb = lv.img_dsc_t({
def create_slider(color):
slider = lv.slider(lv.scr_act())
slider.set_range(0, 255)
slider.set_size(10, 200);
slider.set_style_bg_color(color, lv.PART.KNOB);
slider.set_size(10, 200)
slider.set_style_bg_color(color, lv.PART.KNOB)
slider.set_style_bg_color(color.color_darken(lv.OPA._40), lv.PART.INDICATOR)
slider.add_event_cb(slider_event_cb, lv.EVENT.VALUE_CHANGED, None)
return slider