ptvis.layouts.SeparatedTableLayout.cell_coordinates

SeparatedTableLayout.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.