wulfric.visualization.PlotlyBackend.plot#

method

visualization.PlotlyBackend.plot(*args, kind, **kwargs)#

Main plotting method.

Actual list of supported kinds can be check with:

>>> self.kinds.keys()
Parameters:
kindstr or list of str

Type of the plot to be plotted. Supported plots:

  • "conventional"

  • "primitive"

  • "brillouin"

  • "kpath"

  • "brillouin-kpath"

  • "wigner-seitz"

  • "unit-cell"

*args

Passed directly to the plotting functions.

**kwargs

Passed directly to the plotting functions.

Raises:
ValueError

If the plot kind is not supported.

See also

plot_conventional

"conventional" plot.

plot_primitive

"primitive" plot.

plot_brillouin

"brillouin" plot.

plot_kpath

"kpath" plot.

plot_brillouin_kpath

"brillouin_kpath" plot.

plot_wigner_seitz

"wigner-seitz" plot.

plot_unit_cell

"unit-cell" plot.

show

Shows the plot.

save

Save the figure in the file.