Visualizing custom periodic tables

In this tutorial you’ll how to use mendeleev to create customized visualizations of the periodic table.

The most convenient method to use for this is periodic_table function from mendeleev.vis module.

from mendeleev.vis import periodic_table

Make sure you you have optional vis dependencies installed when installing mendeleev. If you are using pip install with

pip install mendeleev[vis]

To see the default visualization of the periodic table simply call the imported function

/home/docs/checkouts/ FutureWarning: In a future version, `df.iloc[:, i] = newvals` will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either `df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)`
  elements.loc[elements[y_coord].notnull(), "y"] = elements.loc[