owmeta.plot.
Plot
Bases: owmeta_core.dataobject.DataObject
owmeta_core.dataobject.DataObject
Object for storing plot data in owmeta.
list
of
lists
List of XY coordinates for this Plot.
>>> pl = Plot([[1, 2], [3, 4]]) >>> pl.get_data() # [[1, 2], [3, 4]]
get_data
Get the data stored for this plot.
set_data
Set the data attribute, which is user-facing, as well as the serialized _data_string attribute, which is used for db storage.