plot#

VirtualMask.plot(ax=None, **kwargs)#

Plot the virtual mask using matplotlib

Parameters:
  • ax (matplotlib.axes.Axes, optional) – Axes object to plot the virtual mask on. If not provided, a new figure will be created.

  • **kwargs – Additional keyword arguments to pass to ax.imshow

Examples

>>> import matplotlib.pyplot as plt
>>> fig, ax = plt.subplots()
>>> mask.plot(ax=ax)