ZhangYajun,about physics and code
Using pymatgen for ploting band structure and density of states
good luck!