""" Table layout ============ """ # %% # The layout of the periodic table can be changed by the `table_layout` # argument. import plotly import ptvis.layouts elements = list(ptvis.Element) * 2 fig = plotly.graph_objects.Figure() ptvis.attach_pie_cells( fig, elements, table_layout=ptvis.layouts.UnifiedTableLayout(), ) plotly.io.show(fig) # %% # See the :doc:`tutorial on the table layout <../table_layout/index>` for # details of each layout.