WrightTools.artists.Axes.plot

Axes.plot(*args, **kwargs)[source]

Plot lines and/or markers.

If a 2D or higher Data object is passed, a lower dimensional channel can be plotted, provided the squeeze of the channel has ndim==1 and the first axis does not span dimensions other than that spanned by the channel.

Parameters:
  • data (1D WrightTools.data.Data object) – Data to plot.
  • channel (int or string (optional)) – Channel index or name. Default is 0.
  • dynamic_range (boolean (optional)) – Force plotting of all contours, overloading for major extent. Only applies to signed data. Default is False.
  • autolabel ({'none', 'both', 'x', 'y'} (optional)) – Parameterize application of labels directly from data object. Default is none.
  • xlabel (string (optional)) – xlabel. Default is None.
  • ylabel (string (optional)) – ylabel. Default is None.
  • **kwargs

    matplotlib.axes.Axes.plot optional keyword arguments.

Returns:

list of matplotlib.lines.line2D objects

Return type:

list