weldx.TimeSeries.plot#
- TimeSeries.plot(time=None, axes=None, data_name='values', time_unit=None, **mpl_kwargs)#
Plot the
TimeSeries
.- Parameters:
time (
Union
[TimedeltaIndex
,Quantity
,None
]) – The points in time that should be plotted. This is an optional parameter for discreteTimeSeries
but mandatory for expression based TimeSeries.data_name (
str
) – Name of the data that will appear in the y-axis labelmpl_kwargs – Key word arguments that are passed to the matplotlib plot function
time_unit (
Union
[str
,Unit
,UnitsContainer
,None
]) – The desired time unit for the plot. IfNone
is provided, the internally stored unit will be used.
- Return type:
- Returns:
- matplotlib.axes.Axes :
The matplotlib axes object that was used for the plot