exa.core.plotting.plot_helper.plot_line#
- plot_line(axs, data, variable, data_type=DataType.FLOAT, title=None, extra_title_text=None, plot_options=None, complex_options=None)#
Create line plots for complex and real data.
- Parameters:
data (DataArray) – Y-axis data.
variable (str) – Key to x-axis data.
data_type (DataType) – Type of data (complex or number)
title (str | None) – Plot title. If None is given, the title will be automatically generated from data and variables.
extra_title_text (str | None) – Optional extra string appended after title and separated by ‘; ‘.
plot_options (PlotOptions | None) – Plot options to use for the appearance of the plot. If None give a new instance of
PlotOptionsis createdcomplex_options (ComplexOptions | None) – Options to change the appearance for figures with complex data. If None give a new instance of
ComplexOptionsis created
- Return type:
None
Notes
Function with a side effect - modifies axes.