@@ -255,7 +255,7 @@ def __init__(
255255 self ._axesy_bitmap .fill (0 )
256256
257257 self ._plot_bitmap = displayio .Bitmap (self .width , self .height , 5 )
258- self .clear_lines ()
258+ self .clear_plot_lines ()
259259 self ._screen_palette = displayio .Palette (6 )
260260 self ._screen_palette .make_transparent (0 )
261261 self ._screen_palette [1 ] = self ._tick_color
@@ -603,8 +603,8 @@ def update_pointer(self, x: int, y: int) -> None:
603603 self ._pointer .x = self .plot_line_point [- 1 ][0 ]
604604 self ._pointer .y = self .plot_line_point [- 1 ][1 ]
605605
606- def add_line (self , x : int , y : int ) -> None :
607- """add_line function.
606+ def add_plot_line (self , x : int , y : int ) -> None :
607+ """add_plot_line function.
608608
609609 add line to the plane.
610610 multiple calls create a line-plot graph.
@@ -626,8 +626,8 @@ def add_line(self, x: int, y: int) -> None:
626626 1 ,
627627 )
628628
629- def clear_lines (self , palette_index = 5 ):
630- """clear_lines function.
629+ def clear_plot_lines (self , palette_index = 5 ):
630+ """clear_plot_lines function.
631631
632632 clear all added lines
633633 (clear line-plot graph)
0 commit comments