wulfric.visualization.MatplotlibBackend.plot_wigner_seitz#

method

visualization.MatplotlibBackend.plot_wigner_seitz(cell, vectors=True, color='black', label=None, vector_pad=1.1, reciprocal=False, normalize=False)#

Plots Wigner-Seitz cell.

Parameters:
cell(3, 3) array-like

Matrix of a cell, rows are interpreted as vectors.

vectorsbool, default True

Whether to plot lattice vectors.

colorstr, default "black"

Colour for the plot. Any format supported by matplotlib (see matplotlib colors).

labelstr, optional

Label for the plot.

vector_padfloat, default 1.1

Multiplier for the position of the vectors labels. 1 = position of the vector.

reciprocalbool, default False

Whether to plot reciprocal or real Wigner-Seitz cell.

normalizebool, default False

Whether to normalize volume of the cell to one.