Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions examples/display_shapes_sparkline_triple.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down