@@ -199,7 +199,7 @@ def badge_background(self, background_color=(255, 0, 0), rectangle_color=(255, 2
199199 rectangle_drop=0.2, rectangle_height=0.6)
200200
201201 while True:
202- pybadger.show ()
202+ pybadger.show_custom_badge ()
203203 """
204204 self ._background_group = self ._badge_background (background_color , rectangle_color ,
205205 rectangle_drop , rectangle_height )
@@ -236,7 +236,7 @@ def image_background(self, image_name=None):
236236 pybadger.image_background("Blinka.bmp")
237237
238238 while True:
239- pybadger.show ()
239+ pybadger.show_custom_badge ()
240240 """
241241 self ._background_image_filename = image_name
242242
@@ -280,7 +280,7 @@ def badge_line(self, text=" ", color=(0, 0, 0), scale=1, font=terminalio.FONT,
280280 padding_above=4)
281281
282282 while True:
283- pybadger.show ()
283+ pybadger.show_custom_badge ()
284284 """
285285 if isinstance (font , str ):
286286 font = load_font (font , text )
@@ -319,9 +319,10 @@ def badge_line(self, text=" ", color=(0, 0, 0), scale=1, font=terminalio.FONT,
319319 else :
320320 self ._y_position += height * scale + 4
321321
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+ """
325326 if not self ._created_background :
326327 self ._create_badge_background ()
327328
0 commit comments