@@ -382,13 +382,13 @@ def _make_empty_graph(self, tg_and_plot=None):
382382 color = self ._y_lab_color ,
383383 )
384384 self ._displayio_title .x = self ._screen_width - self ._plot_width
385- self ._displayio_title .y = font_h // 2
385+ self ._displayio_title .y = font_h // 1
386386
387387 self ._displayio_y_axis_lab = Label (
388388 self ._font , text = self ._y_axis_lab , line_spacing = 1 , color = self ._y_lab_color
389389 )
390390 self ._displayio_y_axis_lab .x = 0 # 0 works here because text is ""
391- self ._displayio_y_axis_lab .y = font_h // 2
391+ self ._displayio_y_axis_lab .y = font_h // 1
392392
393393 plot_y_labels = []
394394 # y increases top to bottom of screen
@@ -798,8 +798,8 @@ def info(self, value):
798798 self ._displayio_graph .pop ()
799799
800800 if value is not None and value != "" :
801- font_scale = 3
802- line_spacing = 1.25
801+ font_scale = 2
802+ line_spacing = 1
803803
804804 font_w , font_h = self ._font .get_bounding_box ()
805805 text_lines = value .split ("\n " )
@@ -824,7 +824,7 @@ def info(self, value):
824824 self ._displayio_info .x = (
825825 self ._screen_width - font_scale * font_w * max_word_chars
826826 ) // 2
827- self ._displayio_info .y = self ._screen_height // 2
827+ self ._displayio_info .y = self ._screen_height // 3
828828 self ._displayio_graph .append (self ._displayio_info )
829829
830830 else :
0 commit comments