plot_impedance_combo

autoeis.visualization.plot_impedance_combo(freq: ndarray, Z: ndarray, *, fmt: str = '.-', markersize: int = 6, ax: Iterable[Axes] | None = None, label: str | None = None, log: bool = False) list[Axes]

Plots EIS data in Nyquist and Bode plots.

Parameters:
  • freq (np.ndarray[float]) – Frequencies corresponding to the impedance data.

  • Z (np.ndarray[complex]) – Impedance data.

  • fmt (str, optional) – Format of the markers in the plot. Default is “.-“.

  • markersize (int, optional) – Size of the markers in the plots. Default is 10.

  • ax (Iterable[plt.Axes], optional) – Iterable of axes (must be of length 3) to plot on. Default is None.

  • label (str, optional) – Label for the plot. Default is None.

  • log (bool, optional) – If True, plots the y-axis of |Z| vs. freq in log scale. Default is False.

Returns:

List of axes objects of the Nyquist and Bode plots.

Return type:

list[plt.Axes]