""" 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 radii = [1]*len(ptvis.Element) + [2]*len(ptvis.Element) fig = plotly.graph_objects.Figure() ptvis.attach_polar_bar_cells( fig, elements, radii, 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.