Skip to content

bloqade.lanes.visualize.entropy_tree.renderer.draw_focus_panel

← Module overview

functiondraw_focus_panelsource

bloqade.lanes.visualize.entropy_tree.renderer.draw_focus_panel

Signature
def draw_focus_panel(ax, frame: TreeFrameState, arch_spec, target: dict[int, LocationAddress], scorer: EntropyScorer, *, blocked_locations: tuple[LocationAddress, ...] = (), qid_label_map: dict[int, int] | None = None, blocked_location_labels: dict[object, int] | None = None) -> None

Parameters

NameTypeDefaultDescription
ax—required
frameTreeFrameStaterequired
arch_spec—required
targetdict[int, LocationAddress]required
scorerEntropyScorerrequired
blocked_locationstuple[LocationAddress, ...]()
qid_label_mapdict[int, int] | NoneNone
blocked_location_labelsdict[object, int] | NoneNone
source