[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing issues when using fitting='on' #2

Open
flottman opened this issue Apr 2, 2020 · 2 comments
Open

Typing issues when using fitting='on' #2

flottman opened this issue Apr 2, 2020 · 2 comments

Comments

@flottman
Copy link
flottman commented Apr 2, 2020

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!

@sameer9406
Copy link

Even I am facing the same issue

@sameer9406
Copy link

Hi I used .to_numpy() and it worked really well.

fix

CLRom pushed a commit to CLRom/PyEIS that referenced this issue Jul 14, 2020
…g the problem of kbknudsen#2 following the solution suggested by sameer9406
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants