from pymatgen.vis.structure_vtk import StructureVis
import matplotlib.pyplot as plt
import os
os.environ[“KMP_DUPLICATE_LIB_OK”]=“TRUE”
parser = CifParser(“mp-6127.cif”)
structure = parser.parse_structures()[0]
struct_vis = StructureVis()
struct_vis.set_structure(structure)
struct_vis.show()
but it exists ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
what can i do to visualize the crystal struct better