crystal_toolkit.components.bandstructure module
- class crystal_toolkit.components.bandstructure.BandstructureAndDosComponent(mpid=None, bandstructure_symm_line=None, density_of_states=None, id=None, **kwargs)[source]
Bases:
MPComponent
- generate_callbacks(app, cache)[source]
Generate all callbacks associated with the layouts in this app. Assume that “suppress_callback_exceptions” is True, since it is not always guaranteed that all layouts will be displayed to the end user at all times, but it’s important the callbacks are defined on the server.