I am using Pyprocar to plot my band structure. However I cannot change color even modified the 'color' parameter. I tried to change color of their examples referred to Fe band structure but did not work. Here is my code:
import pyprocar
import os
pyprocar.bandsplot(code='vasp', dirname = band_dir,outcar='OUTCAR', mode='plain', show=True, atoms=atoms,spins=[0],fermi=-0.1,color='red')
The figure showed this, band was still blue. I cannot figure out reasons. Hope someone could help me.
I now know how to change color and linewidth in plain mode with the help of ChatGPT...
import pyprocar
import os
ebs_plot= pyprocar.bandsplot(code='vasp', dirname = band_dir,outcar='OUTCAR', mode='plain', show=True, atoms=atoms,spins=[0],fermi=-0.1)
for handle in ebs_plot2.handles:
handle[0].set_color('k')
handle[0].set_linewidth(0.5)
However, when plotting projection band structure in 'parametric' and 'scatter' mode, the added code won't work. Can somebody help ?