ptvis.layouts.UnifiedTableLayout.cell_coordinates

UnifiedTableLayout.cell_coordinates(element)[source]

Give coordinates of a cell.

Parameters:

element (ptvis.Element) – Chemical element of a cell.

Returns:

  • x (float) – X coordinate of a cell.

  • y (float) – Y coordinate of a cell.