hatvis.plotting.draw_primal_dual#
- hatvis.plotting.draw_primal_dual(H, axes=None, *, layout='similarity', style='hull', random_state=0, titles=('primal', 'dual'), **kwargs)[source]#
Linked primal and dual views (after Qu, Zhang and Zhang 2022).
The color of hyperedge \(e\) in the primal view is the color of vertex \(e\) in the dual view (and vice versa), so that the two drawings can be read together.