@@ -199,7 +199,7 @@ def badge_background(self, background_color=(255, 0, 0), rectangle_color=(255, 2
199
199
rectangle_drop=0.2, rectangle_height=0.6)
200
200
201
201
while True:
202
- pybadger.show ()
202
+ pybadger.show_custom_badge ()
203
203
"""
204
204
self ._background_group = self ._badge_background (background_color , rectangle_color ,
205
205
rectangle_drop , rectangle_height )
@@ -236,7 +236,7 @@ def image_background(self, image_name=None):
236
236
pybadger.image_background("Blinka.bmp")
237
237
238
238
while True:
239
- pybadger.show ()
239
+ pybadger.show_custom_badge ()
240
240
"""
241
241
self ._background_image_filename = image_name
242
242
@@ -280,7 +280,7 @@ def badge_line(self, text=" ", color=(0, 0, 0), scale=1, font=terminalio.FONT,
280
280
padding_above=4)
281
281
282
282
while True:
283
- pybadger.show ()
283
+ pybadger.show_custom_badge ()
284
284
"""
285
285
if isinstance (font , str ):
286
286
font = load_font (font , text )
@@ -319,9 +319,10 @@ def badge_line(self, text=" ", color=(0, 0, 0), scale=1, font=terminalio.FONT,
319
319
else :
320
320
self ._y_position += height * scale + 4
321
321
322
- def show (self ):
323
- """Call ``pybadger.show()`` to display the custom badge elements. If ``show()`` is not
324
- called, the custom badge elements will not be displayed."""
322
+ def show_custom_badge (self ):
323
+ """Call ``pybadger.show_custom_badge()`` to display the custom badge elements. If
324
+ ``show_custom_badge()`` is not called, the custom badge elements will not be displayed.
325
+ """
325
326
if not self ._created_background :
326
327
self ._create_badge_background ()
327
328
0 commit comments