Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.32 KB

widget-periodictable

Build

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.

periodic table

Usage and try it on Binder

Binder

Installation

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

Selection and disable

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)

Acknowlegements

We acknowledge support from:

  • EPFL Open Science Fund