Skip to content

Typing issues when using fitting='on' #2

@flottman

Description

@flottman

line 4701, in EIS_plot
ax.plot(self.circuit_fit[i].real, -self.circuit_fit[i].imag, lw=0, marker='o', ms=8, mec='r', mew=1, mfc='none', label='')

AttributeError: 'Series' object has no attribute 'real'

What appears to be happening is that the circuit_fit has become a Series inside of a list for some reason. I'm working around it by just throwing in a .tolist() and plotting it myself, but I couldn't track down where it came from in the source.

numpy: 1.18.2
pandas: 1.0.3
python: 3.7.6

Thanks again for the awesome package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions