guidance
guidance
#
Guidance figures: what a participant still needs to capture, drawn for the app.
Each function draws one layer onto a cgui.Figure panel in the shared
palette: coverage_field washes what the captures so far cover,
coming_path traces where the coming conditions travel coloured by need,
need_timeline plots need by the clock, and basemap lays a street map
under a chart of places.
with cgui.Figure("Sun over the next 24 hours") as figure:
guidance.coverage_field(figure.axes, covered, extent=(60, 300, 0, 75))
guidance.coming_path(figure.axes, coming_xy, need, marks=hours)
figure.axes.legend()