plot#

Diffraction2D.plot(units: str = None, *args, **kwargs)[source]#

Plot the signal.

This method is a wrapper around the hyperspy plot method. See hyperspy.api.signals.BaseSignal.plot() for more information.

Parameters:
  • units (str, optional) – The units to use for the signal. If None, the current units are used otherwise the units are temporarily changed to plot the signal. Options are “px”, “nm^-1”, “A^-1” or “mrad

  • args – Additional positional arguments passed to the hyperspy plot method.

  • kwargs – Additional keyword arguments passed to the hyperspy plot method.