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

[Bug]: get_arrhenius_plot() failed #375

Closed
2 of 4 tasks
LiangWenshuo1118 opened this issue Dec 1, 2023 · 3 comments
Closed
2 of 4 tasks

[Bug]: get_arrhenius_plot() failed #375

LiangWenshuo1118 opened this issue Dec 1, 2023 · 3 comments
Labels

Comments

@LiangWenshuo1118
Copy link

Email (Optional)

No response

Version

v2023.8.15

Which OS(es) are you using?

  • MacOS
  • Windows
  • Linux

What happened?

I encountered a TypeError when trying to use the get_arrhenius_plot function from the pymatgen.analysis.diffusion.analyzer module.

Code snippet

https://github.com/materialsvirtuallab/Data-driven-First-Principles-Methods-for-the-Study-and-Design-of-Alkali-Superionic-Conductors/blob/master/notebooks/3%20-%20Diffusivity%20and%20Ionic%20Conductivity.ipynb

Log output

File "/home/lws/Desktop/SSE/analysis.py", line 22, in <module>
    get_arrhenius_plot(temperatures, diffusivities).savefig("arrhenius_plot.png")
File "/home/lws/anaconda3/envs/deepmd/lib/python3.10/site-packages/pymatgen/analysis/diffusion/analyzer.py", line 1099, in get_arrhenius_plot
    ax = plt.axes()
TypeError: 'Axes' object is not callable

Code of Conduct

  • I agree to follow this project's Code of Conduct
@okibrisli
Copy link

hello @LiangWenshuo1118

did you figure out something for this one?

@okibrisli
Copy link

@shyuep could you please fix this one and van hove analysis too? they have similar issues

thank you in advance

@shyuep
Copy link
Contributor

shyuep commented Jun 24, 2024

Fixed.

@shyuep shyuep closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants