ptvis.layouts.BaseTableLayout.cell_coordinates

abstractmethod BaseTableLayout.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.