axes

format_basis_func_xaxis(ax: Axes, basis_info: BasisInfo, atom_types: None | ArrayLike = None) None[source]

Formats the x-axis of ax in-place such that the basis function indices are shown, and the atom types are indicated below.

Parameters:
  • ax – The axes object to format.

  • basis_info – The basis info object.

  • atom_types – The atomic numbers of the atoms to show on the x-axis. If None, each element in the basis is shown once.