PyEIS
PyEIS copied to clipboard
Typing issues when using fitting='on'
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!
Even I am facing the same issue
Hi I used .to_numpy() and it worked really well.