plot#
- PCCalibrationMovingScreen.plot(pattern_kwargs: dict = {'cmap': 'gray'}, line_kwargs: dict = {'linewidth': 2, 'zorder': 1}, scatter_kwargs: dict = {'zorder': 2}, pc_kwargs: dict = {'edgecolor': 'k', 'facecolor': 'gold', 'marker': '*', 's': 300}, return_figure: bool = False, **kwargs: dict) Union[None, Tuple[Figure, List[Axes]]] [source]#
A convenience method of three images, the first two with the patterns with points and lines annotated, and the third with the calibration results.
- Parameters:
- pattern_kwargs
Keyword arguments passed to
matplotlib.axes.Axes.imshow()
.- line_kwargs
Keyword arguments passed to
matplotlib.axes.Axes.axline()
.- scatter_kwargs
Keyword arguments passed to
matplotlib.axes.Axes.scatter()
.- pc_kwargs
Keyword arguments, along with scatter_kwargs, passed to
matplotlib.axes.Axes.scatter()
when plotting the PCs.- return_figure
Whether to return the figure and axes, default is
False
.- **kwargs
Keyword arguments passed to
matplotlib.pyplot.subplots()
.
- Returns:
fig
Figure, returned if
return_figure=True
.