my_plane = Cartesian(
x=30, # x position for the plane
y=60, # y plane position
width=DISPLAY_WIDTH-20, # display width
height=DISPLAY_HEIGHT-80, # display height
xrange=(0, 14), # x range
yrange=(lowest_y[0], highest_y[0]), # y range
axes_color=bar_color(highest_y[0]),
pointer_color=TEXT_PINK,
axes_stroke=4,
major_tick_stroke=2,
subticks=True,
)
Only thing I can currently colorize is the axes depending on value.
As far as I can tell there's no parameter for changing the line color with cartesian. Would like to change it depending on y-axis value. Here's my current code for the fitbit api project.
Only thing I can currently colorize is the axes depending on value.