show#

EBSDDetectorPlotter.show(legend: bool = False, dimensionless: bool = True, coordinates: Literal['pixel', 'gnomonic'] = 'gnomonic', **kwargs: Any) tuple[Figure, VBox | HBox][source]#

Build the interactive figure and return it with its controls.

Parameters:
legend

Whether to show a legend in the side and top views. Default is False.

dimensionless

Whether to ignore px_size when drawing the side-view plot axes. Default is True.

coordinates

Detector panel coordinate format: “gnomonic” (default) or “pixel”.

**kwargs

Keyword arguments passed to figure().

Returns:
fig

Matplotlib figure containing the three-panel plot.

controls

Widget box containing the slider controls. Display with IPython.display.display(controls) alongside fig in a Jupyter notebook.

Notes

Requires ipywidgets. If psygnal is installed and the detector was not deep-copied (inplace=True), the side and top views are also driven by signals emitted from the detector properties.

Examples using EBSDDetectorPlotter.show#

Interactive EBSD detector plotter

Interactive EBSD detector plotter