A jupyter widget to select chemical elements from the periodic table. This is a update version of the widget from:
https://github.com/aiidalab/aiidalab-widget-periodictable
,which support both Jupyter notebook and JupyterLab.
You can install using pip
:
pip install widget_periodictable
Or if you use jupyterlab:
pip install widget_periodictable
jupyter lab build
If you are using Jupyter Notebook 5.2 or earlier, you may also need to enable the nbextension:
jupyter nbextension enable --py [--sys-prefix|--user|--system] widget_periodictable
By clicking on the elements, one can select and disable the elements. The selected elements can be divided into different states with custom colors. One can obtain the element list by state.
PTable.get_elements_by_state(1)
We acknowledge support from:
- EPFL Open Science Fund