WrightTools.artists.quick1D
- WrightTools.artists.quick1D(data, axis: int | str = 0, at: dict = {}, channel: int | str = 0, local: bool = False, autosave: bool = False, save_directory=None, fname=None, verbose=False)[source]
Quickly plot 1D slice(s) of data.
- Parameters:
data (WrightTools.Data object) – Data to plot.
axis (string or integer (optional)) – Expression or index of axis. Default is 0.
at (dictionary (optional)) – Dictionary of parameters in non-plotted dimension(s). If not provided, plots will be made at each coordinate.
channel (string or integer (optional)) – Name or index of channel to plot. Default is 0.
local (boolean (optional)) – Toggle plotting locally. Default is False.
autosave (boolean (optional)) – Toggle saving plots (True) as files or diplaying interactive (False). Default is False. When autosave is False, the number of plots is truncated by ChopHandler.max_figures.
save_directory (string (optional)) – Location to save image(s). Default is None (auto-generated).
fname (string (optional)) – File name. If None, data name is used. Default is None.
verbose (boolean (optional)) – Deprecated option. Use logging config to customize code feedback.
- Returns:
if autosave, a list of saved image files (if any). if not, a list of Figures
- Return type:
See also
artists.quick1Ds: Iterator implementation of quick1D