From eab3333f8fafae2de810352036d488914655f6c6 Mon Sep 17 00:00:00 2001 From: James Carr Date: Thu, 22 Jul 2021 11:58:30 +0100 Subject: [PATCH] Remove usage of max_glyphs with Label --- examples/display_shapes_sparkline_triple.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/display_shapes_sparkline_triple.py b/examples/display_shapes_sparkline_triple.py index 27b47e4..3125345 100755 --- a/examples/display_shapes_sparkline_triple.py +++ b/examples/display_shapes_sparkline_triple.py @@ -183,18 +183,14 @@ ) # Initialize the y-axis labels for mySparkline3 with no text -text_label3a = label.Label( - font=font, text="", color=0x11FF44, max_glyphs=20 -) # y_top label +text_label3a = label.Label(font=font, text="", color=0x11FF44) # y_top label text_label3a.anchor_point = (0, 0.5) # set the anchorpoint text_label3a.anchored_position = ( sparkline3.width, 120, ) # set the text anchored position to the upper right of the graph -text_label3b = label.Label( - font=font, text="", color=0x11FF44, max_glyphs=20 -) # y_bottom label +text_label3b = label.Label(font=font, text="", color=0x11FF44) # y_bottom label text_label3b.anchor_point = (0, 0.5) # set the anchorpoint text_label3b.anchored_position = ( sparkline3.width,