exa.core.plotting.plot_helper.plot_contour#
- plot_contour(axs, data, variables, data_type=DataType.FLOAT, title=None, extra_title_text=None, plot_options=None, complex_options=None, **contour_kwargs)#
Create contour plot for complex and real data.
- Parameters:
data (DataArray) – Z-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**contour_kwargs – extra arguments for
matplotlib.pyplot.contourf()
- Return type:
None
Notes
Function with a side effect - modifies axes.