[ase-users] matplotlib and ase-gui
Jens Jørgen Mortensen
jensj at fysik.dtu.dk
Thu Aug 6 07:08:42 CEST 2015
On 08/05/2015 01:24 PM, Peter Bjerre Jensen wrote:
> Hi
>
> It works for me, but there is a (very) slight delay before the plot
> shows up.
Thanks for testing. That must be the import time for matplotlib that we
now have to pay for every figure.
Jens Jørgen
>
> Best regards
> Peter
>
> Peter Bjerre Jensen
> Postdoc
> DTU Energy
>
> Technical University of Denmark
>
>
> Department of Energy Conversion and Storage
> Fysikvej, Building 309
> 2800 Kgs. Lyngby
> pbjen at dtu.dk <mailto:pbjen at dtu.dk>
> www.ecs.dtu.dk <http://www.ecs.dtu.dk>
>
>
>
> Den 05-08-2015 kl. 12:59 skrev Jens Jørgen Mortensen:
>> Hi!
>>
>> I've just made some changes to the development version of ASE (trunk
>> in SVN). Now ase-gui will pop up matplotlib plots in separate
>> processes instead of the same process as ase-gui. This allows
>> matplotlib to use its preferred GUI-backend instead of being forced
>> to use GTK which ase-gui is using.
>>
>> It works on my computer, but maybe not on yours! Please give it a
>> try and let me know how it goes.
>>
>> Something like this should do it:
>>
>> $ cd
>> $ svn co https://svn.fysik.dtu.dk/projects/ase/trunk ase-trunk
>> $ export PYTHONPATH=~/ase-trunk
>> $ export PATH=~/ase-trunk/tools:$PATH
>> $ ase-build H2 | ase-run emt -f 0.01
>> $ ase-gui H2.traj
>>
>> Jens Jørgen
>>
>> _______________________________________________
>> ase-users mailing list
>> ase-users at listserv.fysik.dtu.dk
>> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20150806/4d2de03e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1055 bytes
Desc: not available
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20150806/4d2de03e/attachment-0001.gif>
More information about the ase-users
mailing list