plot_windows

go-to Window markers from connections or seg dict (basic, no far-outside reclass).

threejs_viz.plot_windows(
    connections_or_seg,
    name='Windows',
    marker_color=None,
    marker_size=10,
    marker_opacity=0.8,
    **kwargs,
)

Plot window positions between connected pores (Three.js backend).

Accepts either: - A seg dict (from prepare_seg_threejs or the results of do_periodic_segmentation_rust) — used as-is. - A connections list — a minimal seg dict is built automatically (no periodic reclassification; for that use plot_windows_from_results).

Any unknown keyword args are silently consumed for backward compatibility with the old Plotly-style call signature.