I have calculated the band structure for the 2D material MoSe2. I can plot the band structure without problem using the BSDosPlotter, but when I tried to use the BSPlotterProjected, a broken plot with only one of the elements (Se) is returned. I have attached the code to generate the plot below as well as the graphics (in PDF form) that are produced. Am I doing something incorrectly or is the code broken?
Python 3.11.5 | packaged by conda-forge | (main, Aug 27 2023, 03:34:09) [GCC 12.3.0]
Type ‘copyright’, ‘credits’ or ‘license’ for more information
IPython 8.15.0 – An enhanced Interactive Python. Type ‘?’ for help.
In : bsrun = Vasprun(“vasprun.xml”,parse_projected_eigen=True)
In : bs = bsrun.get_band_structure(line_mode=True)
In : from pymatgen.electronic_structure.plotter import BSPlotterProjected
In : plotter = BSPlotterProjected(bs)
In : plot = plotter.get_elt_projected_plots()
Installed qt5 event loop hook.
In : figure = plot.get_figure()
brokenplot.pdf (1.6 MB)