[ase-users] ase-gui no longer displays energy plots by default?

Jens Jørgen Mortensen jensj at fysik.dtu.dk
Fri Oct 10 10:23:42 CEST 2014


Den 09-10-2014 kl. 16:26 skrev Eric Hermes:
> Hello,
>
> I recently updated the global version of ASE on our cluster from 3.7.0 
> to 3.8.1, and I noticed that ase-gui (nee ag) no longer displays 
> energy plots for trajectories by default. I spent a lot of time 
> troubleshooting my matplotlib and pygtk installations before I 
> realized that this was due to line 106 in ase/gui/graphs.py being 
> commented out. Additionally, chuan (sorry, I don't know your name) 
> mentioned in the gpaw IRC channel that invoking Tools -> NEB would 
> cause not only the splined NEB plot to show up, but also any other 
> plots that had been suppressed. This appears to happen because 
> ase/gui/neb.py invokes pylab.show(), which is the command that is 
> commented out on line 106 in ase/gui/graphs.py. Uncommenting this line 
> caused the plots to start showing up again with no ill effects. Is 
> this functionality disabled for a reason?

That line 106 has been commented for 7 years now!  So it must be 
something else that has changed from 3.7.0 to 3.8.1.  I think show() 
should not be needed when ion() has been called (interactive mode). What 
architecture are you on?  Do you have some personal matplotlib settings?

Jens Jørgen

>
> Thanks,
> Eric
>




More information about the ase-users mailing list