pymatgen-analysis-diffusion
pymatgen-analysis-diffusion copied to clipboard
[Bug]: get_arrhenius_plot() failed
Email (Optional)
No response
Version
v2023.8.15
Which OS(es) are you using?
- [ ] MacOS
- [ ] Windows
- [X] 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
- [X] I agree to follow this project's Code of Conduct