iode.ComputedTable.gridx

property ComputedTable.gridx: TableGraphGrid

The gridx value of the table offers a choice of three X-grid options:

  • MAJOR: draws a line across the entire graph at each main axis graduation

  • NONE: removes the grid from the graph.

  • MINOR: draws a line at all graduations

Returns:
TableGraphGrid

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import Table, tables
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> # simple time series (current workspace) - 6 observations
>>> computed_table = tables["C8_1"].compute("2000:6")
>>> computed_table.gridx
<TableGraphGrid.MAJOR: 0>