Tutorial¶
PTVis provides functions attaching the periodic table to a figure object of Plotly, which are
ptvis.attach_plain_cells()Attach the periodic table with plain cells.
ptvis.attach_pie_cells()Attach the periodic table with pie chart cells.
ptvis.attach_polar_bar_cells()Attach the periodic table with polar bar chart cells.
PTVis also provides the ptvis.Element class to specify chemical
elements in these functions.
Periodic table with plain cells¶
Periodic table with pie chart cells¶
Periodic table with polar bar chart cells¶
Color conversion¶
A color must be given as a CSS color.