Skip to content

bloqade.lanes.visualize.arch

arch

bloqade.lanes.visualize.arch

Visualization helpers for :class:`~bloqade.lanes.arch.spec.ArchSpec`.

These used to live as methods on ArchSpec itself. They were extracted as part of #464 phase 1 so the core ArchSpec Python wrapper stays focused on architectural data and validation, keeping matplotlib out of its import surface.

The primary entry point is the ArchVisualizer class, which caches bounds computations and provides plot / show methods. The ArchSpec shims (arch_spec.plot, .show, .x_bounds, .y_bounds, .path_bounds) create an ArchVisualizer via a @cached_property so existing call sites keep working.