pyprocar icon indicating copy to clipboard operation
pyprocar copied to clipboard

No output figure when using "plain" mode for vasp

Open alex2shiyu opened this issue 5 years ago • 2 comments

Hi, everyone, I encounter a problem when using the latest verison of pyprocar. In a directory of band calculation of vasp, when using command like below to get plain band structure,

import pyprocar pyprocar.bandsplot('PROCAR',outcar='OUTCAR',elimit=[-1,1],mode='plain',color='blue',code='vasp',kpointsfile='KPOINTS',savefig='aa_band_nosoc_sp_U27_m11_vasp.png',title="aa")

there is no figure of "aa_band_nosoc_sp_U27_m11_vasp.png" as output, however, when I drop off "title="aa" ", the output of picture is normal with everything going nice.

My version of pyprocar is the latest one "v5.5.2" and my python is 3.7.7 and things go wrong for both 3.6.9 and 3.7.3. I know that v5.1.8 for pyprocar runs well with no error like this.

Any help is appreciate.

alex2shiyu avatar Sep 01 '20 13:09 alex2shiyu

One more information : when this is no figure as output, there is also not any error or warning on the screen.

截屏2020-09-01 下午9 26 23

alex2shiyu avatar Sep 01 '20 13:09 alex2shiyu

@alex2shiyu Hi, have you find a definite answer? I have the same issue, no figure output

Moon121212 avatar Dec 05 '22 13:12 Moon121212