orbital_diagram#

anchored_text(ax, x, y, text, offset_axes=(0.0, 0.1), **kwargs)[source]#

Draw text that is anchored to a point in data space with specified axes offsets.

Returns the Artist instance.

arrow_tail_with_axes_offset(ax, anchor, displacement_axes=(0.0, 0.1), anchor_axes=(0.0, 0.0), arrowstyle='<|-', alpha=1, **kwargs)[source]#

Draw an arrow whose tail is fixed to anchor in data coords, but whose head is offset from the tail by displacement_axes measured in axes fraction (dx, dy in [0..1] of the axes width/height).

Returns the ConnectionPatch instance.

draw_interaction(fmos, mos, connections, title=None, energy_type='energy', connection_types={}, ax=None, ylim=None, highlighted_orbitals=None, mo_column_name='Complex', fragment_order=None, warning_orbs=None, **kwargs)[source]#