Skip to content

Commit 99bf9e7

Browse files
authored
Merge pull request #39 from lesamouraipourpre/remove-max-glyphs
Remove usage of max_glyphs with Label
2 parents c6ea5d1 + eab3333 commit 99bf9e7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

examples/display_shapes_sparkline_triple.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,18 +183,14 @@
183183
)
184184

185185
# Initialize the y-axis labels for mySparkline3 with no text
186-
text_label3a = label.Label(
187-
font=font, text="", color=0x11FF44, max_glyphs=20
188-
) # y_top label
186+
text_label3a = label.Label(font=font, text="", color=0x11FF44) # y_top label
189187
text_label3a.anchor_point = (0, 0.5) # set the anchorpoint
190188
text_label3a.anchored_position = (
191189
sparkline3.width,
192190
120,
193191
) # set the text anchored position to the upper right of the graph
194192

195-
text_label3b = label.Label(
196-
font=font, text="", color=0x11FF44, max_glyphs=20
197-
) # y_bottom label
193+
text_label3b = label.Label(font=font, text="", color=0x11FF44) # y_bottom label
198194
text_label3b.anchor_point = (0, 0.5) # set the anchorpoint
199195
text_label3b.anchored_position = (
200196
sparkline3.width,

0 commit comments

Comments
 (0)