WrightTools.artists.interact2D

WrightTools.artists.interact2D(data, xaxis=0, yaxis=1, channel=0, local=False, verbose=True)[source]

Interactive 2D plot of the dataset. Side plots show x and y projections of the slice (shaded gray). Left clicks on the main axes draw 1D slices on side plots at the coordinates selected. Right clicks remove the 1D slices. For 3+ dimensional data, sliders below the main axes are used to change which slice is viewed.

Parameters:
  • data (WrightTools.Data object) – Data to plot.
  • xaxis (string, integer, or data.Axis object (optional)) – Expression or index of x axis. Default is 0.
  • yaxis (string, integer, or data.Axis object (optional)) – Expression or index of y axis. Default is 1.
  • channel (string, integer, or data.Channel object (optional)) – Name or index of channel to plot. Default is 0.
  • local (boolean (optional)) – Toggle plotting locally. Default is False.
  • verbose (boolean (optional)) – Toggle talkback. Default is True.